Mobile Web Page DeviceSpecific/GridView Issue

M

mtembene

I am new to this Mobile Web development and am having an issue that I
would like some help with.

I have a Mobile Web form that contains a DeviceSpecific object. In the
Header Template for this object there is a dropdown list called
ClientName and a GridView with an ObjectDataSource.

At this point everything works correctly. The DSO gets data from the
providor and displays it properly using a default search parameter.

What I want to do is pass the value in the DropDownList "ClientName" to
the selectstatement on the ObjectDataSource (This has been configured
properly in the DSO). so that the user can select a value from the
DropDownList and see a new resultset in the GridView.

Normally I would do this by trapping the
ClientName_SelectedIndexChanged event at the server and then calling
the DataBind method on my GridView. My problem is that the code behind
my mobile page does not know about the GridView object. It is buried
somewhere in the DeviceSpecific object and I don't know how to
reference it.

So can someone tell me how to reference an object contained in the
Header Template of a DeviceSpecific Object on a Mobile Web Form?

Many thanks for a correct answer.
 

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,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top