473,378 Members | 1,375 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Generating Client-side JavaScript for Custom Postback

ok, so further to my previous post, i now know how to get a normal HTML
control to raise a callback using the Page.GetPostBackEventReference(this,
callBackRef) method, however when this is called from within the Javascript
the IPostBackDataHandler.LoadPostData isn't called for my custom control -
even tho it's implemented.

any ideas?

TIA

Sam martin
Nov 18 '05 #1
1 3027
postback data is sent by the browser as name/value pairs where the name is
the name (not id) of the control that is posting the data. asp.net looks at
the name (which should map to the .net control id) to know which control to
pass the postback data to. how is your HTML control posting its data back?

note: only way to postdata back in html is thru a <input>, <select> or
<textarea>, and they must be children of the posting form.
-- bruce (sqlwork.com)
"Sam Martin" <sa*********@yahoo.co.uk> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
ok, so further to my previous post, i now know how to get a normal HTML
control to raise a callback using the Page.GetPostBackEventReference(this,
callBackRef) method, however when this is called from within the Javascript the IPostBackDataHandler.LoadPostData isn't called for my custom control -
even tho it's implemented.

any ideas?

TIA

Sam martin

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: google.groups.tr | last post by:
I have an Access 97 database that has a routine to generate a unique report as a PDF file and email it to one person, and loops about 300 times. Each instance through the loop uses a registry...
5
by: Liz | last post by:
C# .NET creating a tree programmatically treeView1.BeginUpdate(); treeView1.Nodes.Clear(); treeView1.Nodes.Add(new TreeNode("Client Details")); tvSelect.Nodes.Add(new TreeNode("Referrals"));...
1
by: John Edwards | last post by:
I am wanting to dynamically generate some file content, and stream it back to the client, so that on the client a saveas dialog can be opened. How do I do this? Thanks in advance John
2
by: Manish Soni | last post by:
I wish to expose a set of backend functions as web services. Now the metadata for the functions is not available before hand. So I want to have a way to dynamically generate the wsdl when user...
1
by: Roland Dick | last post by:
Hi, I'm desperate with a webservice and a consuming WinForms-client. It used to work well, but all of a sudden (= I don't know what I changed really :) I get an exception "Generating the XML...
1
by: louis_la_brocante | last post by:
Dear all, I am having trouble generating a client proxy for a webservice whose methods return a "complex" type. The type is complex in that it is a class whose members are a mix of primitive...
8
by: Thirsty Traveler | last post by:
I have a WebMethod as follows: public XmlDocument OrderContract(XmlDocument doc) { return OrderBLL.OrderContract(doc); } However, the client is generating a compile error when the...
1
by: idletask | last post by:
Hello, I have an XML file that is on my file system. I want to read the file into memory and call a web service with it. When I do, the VB complains: "there was an error generating the XML...
1
by: Fan | last post by:
Hi, everyone When I first set up a web service in .Net 1.1, seems .Net will automatically build the WSDL file. And the element type of each field in input and output has been automatically...
20
MMcCarthy
by: MMcCarthy | last post by:
This problem was proposed to me but not really my area of expertise so I thought I would open it up to the forum to see if anyone had any bright ideas. The problem is generating Microsoft Word...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.