VPS Hostname
 
Notifications
Clear all

VPS Hostname

10 Posts
3 Users
0 Reactions
2,438 Views
Posts: 110
(@berkut)
Estimable Member
Joined: 7 years ago

You need to find the hostname checkbox and add the tag Visible=”false”

Reply
Posts: 113
Topic starter
(@hdseed)
Estimable Member
Joined: 8 years ago

I think you are refering to this line...

<div class="col-sm-10">
<asp:CheckBox ID="chkAutoHostName" runat="server" Checked="true"
AutoPostBack=true Text="Hostname will be generated automatically" meta:resourcekey="chkAutoHostName" />
</div>

But unfortunately when i try to add Visible=”false” it will mess up the whole code and an error will display, so i went ahead an removed: AutoPostBack=true

And changed the test a bit, the check box is visible but clicking it wont change nothing, i hope there is a better solution otherwise ill have to stick to my solution...

Reply
Posts: 110
(@berkut)
Estimable Member
Joined: 7 years ago

if it works you can leave it.

Reply
Posts: 113
Topic starter
(@hdseed)
Estimable Member
Joined: 8 years ago

Thanks a lot !... Not exactly a user friendly solution though, hope if someone can share a better solution to hide the check box and disable the user changing host name instead of just making this option nonfunctional !...

Reply
Page 2 / 2
Share: