Ask a Question related to ASP.NET General, Design and Development.
-
Colt [MVP] #1
Re: Events in HTML throught webservices...
Hi Nathan,
I think it's impossible to do so. Firstly, I'm not sure
how's your Web Service work but it would return some "HTML
code" of the remote web page, i.e. a "static" HTML code
with some <table> - that may be the result of
DataGrid.RenderControl() only.
In order to sort or further manipulate with a DataGrid, a
RoundTrip may require and 'another' static HTML code will
be rendered and returned to you.
If you can obtain the DataSource for the DataGrid into
client side, then you can sort the datagrid without re-
submit to the Web Services again, as client side sorting
without PostBack of datagrid is possible. Well, it may off
topic of this message and you'd better 'enhance' the Web
Service to return a DataTable instead. :)
Regards,
Colt
rendered page that>-----Original Message-----
>I have a webservice that returns HTML. That HTML is awith us. On load of>contains a DataGrid.
>This webservice is used by another company to integrateFor example, is it>their page, they pump our HTML into their Literal control.
>Is there any way for our rendered page to have events?columns?>possible for our rendered DataGrid to have sortable>
>
>Nathan
>
>
>.
>Colt [MVP] Guest
-
Handling HTML element events using AxWebBrowser
Hello, I am trying to hook into the events for HTML textboxes. In particular the onchange event. In the document complete handler I attach a... -
Flickering of ActiveX caused by html or javascript events
Hi all, I have encountered an issue where activex controls flicker when certain events occur. For example: A simple HTML button causes the... -
Add Events to HTML Table
Hi, I was wondering is it possible to create my own html table that has two features. 1. it is databound and 2. Create my own events to it? ... -
Cant add events to HTML controls in a Calander control
Im not getting any error messages but the event is not going off when i click the button it just posts back to the same page. I know this code has... -
Need example of events fired from xmlDocument html transformation
HI, I've posted this type of question before so please don't be annoyed, but I still need example(s) of how to build dynamic controls and post... -
Nathan Baulch #2
Re: Events in HTML throught webservices...
> In order to sort or further manipulate with a DataGrid, a
Yeah, just thought I'd check for sure.> RoundTrip may require and 'another' static HTML code will
> be rendered and returned to you.
Cheers
Nathan Baulch Guest
-
David Waz... #3
Re: Events in HTML throught webservices...
Sure, you can do this.
but not quite in the structure you described. Sort requests and other
events will post back to the originating server, in this case, your clients
computer - not yours.
You have a couple of options here.
1. Implement frames on the client's site, and have the frame reference
YOUR server so you handle events.
2. Implement your content as a user control, with events. Your client
can capture the events, make a request back to your server to get the newly
sequenced data. You then respond with the sorted content and they implement
that back to their site.
3. Implement the data into an XML store instead of raw HTML. The client
can manipulate the result any way they wish, including local sorting etc.
using user or custom controls or client-side manipulation.
"Nathan Baulch" <nathan.baulch@microsell.com.au> wrote in message
news:#nQ4af0RDHA.1688@TK2MSFTNGP11.phx.gbl...of> I have a webservice that returns HTML. That HTML is a rendered page that
> contains a DataGrid.
> This webservice is used by another company to integrate with us. On load> their page, they pump our HTML into their Literal control.
> Is there any way for our rendered page to have events? For example, is it
> possible for our rendered DataGrid to have sortable columns?
>
>
> Nathan
>
>
David Waz... Guest



Reply With Quote

