S
Søren Olesen
Hi
I'm using a thirdparty webgridcontrol on a .aspx page. However I need to
disable one of the childcontrols in this grid. Unfortunately the gridcontrol
doesn't give me any way to do this on the server side.
I could do it in Javascrip... When the page is loaded I could find the
control and just disable it. I've tried that, but the grid contains a lot of
these controls, so it takes quite some time to disable them all, making the
page rather slow to load.
I've therefore created a usercontrol with this webgrid and overloaded the
render method. I'm now able to get hold of the HTML code and therefor able
to change my control using search & replace before it's send to the browser.
However doing search and replace directly on the HTML code seems rather
flaky, so I was wondering if there's a better way....
Is there??
TIA
Søren
I'm using a thirdparty webgridcontrol on a .aspx page. However I need to
disable one of the childcontrols in this grid. Unfortunately the gridcontrol
doesn't give me any way to do this on the server side.
I could do it in Javascrip... When the page is loaded I could find the
control and just disable it. I've tried that, but the grid contains a lot of
these controls, so it takes quite some time to disable them all, making the
page rather slow to load.
I've therefore created a usercontrol with this webgrid and overloaded the
render method. I'm now able to get hold of the HTML code and therefor able
to change my control using search & replace before it's send to the browser.
However doing search and replace directly on the HTML code seems rather
flaky, so I was wondering if there's a better way....
Is there??
TIA
Søren