postback __EVENTTARGET ID in Page.Request.Form has $ not _ in ASP.NET
- by Industry86
I am using the ToolkitScriptManager from the Ajax tool kit and I am having a problem finding my button's ID.
My ID's on my controls come back with $ symbols instead of _ symbols, like the following:
Grid$ctl06$insertButton
This obviously causes problems when attempting to find the control from the Page.Request.Form keys. I cannot seem to find the determining factor that would cause this.
Now, I know this is the name and in my source I see that the ID is with the _, so why is the Page.Request.Form showing up with the $ symbol instead? Anybody encounter this before?