Custom Controls and Callbacks

M

mmorrison93

First of all thanks in advance for any comments or suggestions. I've
created a web page using ASP.Net 2.0 that uses a custom control that
inherits from System.Web.UI.WebControls.GridView called CustomGridView
and have added a property of type String to this class called for the
sake of the example MyProperty. In the Page_Load method of my
codebehind class, MyProperty is explicitly set to a value that I'd
like to reference during a callback in the RaiseCallbackEvent method.
However I'm not able to access the value for some reason, when I
reference MyProperty in the RaiseCallbackEvent or GetCallbackResult
methods I get a null value. I'm fairly new to callbacks so I'm not
sure if doing this is completely out of the question or if I'm simply
doing something wrong here. Any help is appreciated.

Mike
 
D

diksa

First of all thanks in advance for any comments or suggestions. I've
created a web page using ASP.Net 2.0 that uses a custom control that
inherits from System.Web.UI.WebControls.GridView called CustomGridView
and have added a property of type String to this class called for the
sake of the example MyProperty. In the Page_Load method of my
codebehind class, MyProperty is explicitly set to a value that I'd
like to reference during a callback in the RaiseCallbackEvent method.
However I'm not able to access the value for some reason, when I
reference MyProperty in the RaiseCallbackEvent or GetCallbackResult
methods I get a null value. I'm fairly new to callbacks so I'm not
sure if doing this is completely out of the question or if I'm simply
doing something wrong here. Any help is appreciated.

Mike

Hi,
I read your message and clearly understood the content,meanwhile
i have bring you something i think you are going to like most because
in this age of computerisation everybody wants to be carry along,so i
invite you to visit the below site and get yourself doing any of these
things;look for someone that will work for you as a sales
agent,advertise your products,someone to employ as a worker in
different field of profession,or work with the company yourself by
setting your own hour rate and work fee.You can as well create project
and place it on the site for bidding especially if you have products
for sell or project to be tackled,sign up is free do it now and start
to work immediately a lot of works are already waiting for you check
it by click on the link below now.
http://www.getafreelancer.com/rss/affiliate_diksa.xml
Thanks,
Sadiq.
+2348087228886
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top