Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Access Form values in a call backAccess Form values in a call back
Previous
 
Next
New Post
6/19/2008 11:10 AM
 

Hi all,

Based on the ClientAPI documentation section 'Accessing FORM values In a CallBack' I have tried to access values of a few drop downs and text boxes from the RaiseClientAPICallbackEvent method. I registered the client callback with

ClientAPI.GetCallbackEventReference(this, "paramname" , "'ReportSaveCompleted'", "'context", "'ReportSaveError'",this.TextBox1) //I try to get value of this textbox

Then in the RaiseClientAPICallbackEvent method I tried to access the text box value with Request[this.TextBox1.ClientID] as being mentioned. But my problem is that I keep getting an empty string for the text box value although I have entered some values there.

Appreciate a lot if someone can say what I'm doing wrong here?

Cheers!

Uchitha.

 

 
New Post
6/19/2008 2:18 PM
 

I would try putting a breakpoint in your code.  Then use the immediate window to analyze the keys that are found in the request object.  I'm guessing the name that TextBox1.ClientID yields is different than what is in the Request's keys collection.


 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Access Form values in a call backAccess Form values in a call back


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out