Hi all,
i am using a radgrid with two different usercontrols for insert and edit mode.
in my insert mode usercontrol i have 2 drop downs which i bind from the code behind using my business logic. i am doing this in the pageload method of the usecontrol.ascx.cs. due to this i am getting repetitive entries for each postback.
i tried giving the logic inside
if (!page.isPostback) loop.
but it is not at all hitting the loop. this is because the first load of the usercontrol page itself is a postback from the grids command item template.. i agree.. but how to avoid the repetition? where should i put my logic to bind the drop downs? or is there any other conditional check needs to be done before bunding..
i am new to telerik controls. please help..
Regards,
Saravanan K
i am using a radgrid with two different usercontrols for insert and edit mode.
in my insert mode usercontrol i have 2 drop downs which i bind from the code behind using my business logic. i am doing this in the pageload method of the usecontrol.ascx.cs. due to this i am getting repetitive entries for each postback.
i tried giving the logic inside
if (!page.isPostback) loop.
but it is not at all hitting the loop. this is because the first load of the usercontrol page itself is a postback from the grids command item template.. i agree.. but how to avoid the repetition? where should i put my logic to bind the drop downs? or is there any other conditional check needs to be done before bunding..
i am new to telerik controls. please help..
Regards,
Saravanan K