E
eric.olstad
A GridView control in ASP.NET has the option to Auto-Generate the
select button (which is a link that calls __doPostBack which I presume
does a post-back to the server). Is there information on how to
generate this __doPostBack function manually?
The motivation is simple. Using the same __doPostBack([tablename],
'Select$[table row index]') function generated on the 'Select' button
link from AutoGenerateSelectButton flag being set to true, I have made
it so that whenever you click on a row in the GridView, it executes as
if the select button was clicked. However, if I remove the
AutoGenerateSelectButton property, the __doPostBack function is no
longer defined. This is quite annoying because the 'Select' button is
ugly and takes away from the ease of use.
I haven't found much information on this, so any would be greatly
appreciated.
select button (which is a link that calls __doPostBack which I presume
does a post-back to the server). Is there information on how to
generate this __doPostBack function manually?
The motivation is simple. Using the same __doPostBack([tablename],
'Select$[table row index]') function generated on the 'Select' button
link from AutoGenerateSelectButton flag being set to true, I have made
it so that whenever you click on a row in the GridView, it executes as
if the select button was clicked. However, if I remove the
AutoGenerateSelectButton property, the __doPostBack function is no
longer defined. This is quite annoying because the 'Select' button is
ugly and takes away from the ease of use.
I haven't found much information on this, so any would be greatly
appreciated.