- Hello,
I have posted my issue- when I make use of client side item command in radgrid, the server side item command doesn't retrieve item datakey or the index or the item number as well. I wanted to give file download functionality on grid's specified command. So I wanted AJAX to be disabled at certain control's request...Please review the following conversation I had earlier but didn't got the proper answer.
It would be great if I can see some specific example as well on this
Thanks,Sunny
_______________________________________________________________________________hello
I need to disable AJAX on RadGrid's one command for file download purpose and so I, first, made use of client settings and there used onCommand client side where I make AJAX disabled which works fine at its partSo the flow goes first at client side and first enables/disables AJAX and then goes server side on ItemCommand event where I can not access e.Item's values and even data key value
Please refer to my code snippet for server side event-ItemCommand:
GridEditableItem editedItem = e.Item as GridEditableItem; Hashtable newValues = new Hashtable(); editedItem.ExtractValues(newValues); - Telerik Admin

Posted on May 24, 2010 (permalink)
Hi Sunny,
One possible option in this case would be to not use the onCommand client side handler, but rather use the onrequest start client side event for the ajax control
http://www.telerik.com/help/aspnet-ajax/ajxonrequeststart.html
Give this suggestion a try and let me know how it goes.
Greetings,
Yavor
the Telerik team - Could you please give me a proper example of ragdrid having Item Command and onStartRequest integrated?
