I’m searching for a way in C# to change the ct100 prefix client id when using Master Pages in .Net 3.5. I’ve done this successfully in VB using the following snippet on the Master Page code behind…
Private Sub InitSub(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
ID = "master"
End Sub
I am aware of clientIDMode="Static" which will not work in .Net 3.5.
This post was helpful, but I can’t seem to translate it effectively into C#. Please help!
For what it’s worth:
With
AutoEventWireup=true(default) you can use the page-methods when you follow the naming convention:Page_EventName.