Dynamic objeclist mobile control


Dynamic objeclist mobile control

Postby QW5vb3A » Sun, 16 Sep 2007 00:52:00 GMT

I m  creating objectlist dynamically and binding data from  arraylist, the 
problem I m facing here is i m getting data on the grid as hyperlink as 
usual, but when i click on hyperlink, page post back but no details are being 
Can someone hekp me on this.

Re: Dynamic objeclist mobile control

Postby Cesar Fong » Wed, 26 Sep 2007 15:00:48 GMT

are you using the regular object list or are you implementing your own 

"Anoop" < XXXX@XXXXX.COM > escribi en el mensaje de 
noticias: XXXX@XXXXX.COM ...

Similar Threads:

1.Dynamic Image Generation using Mobile Image Control

2.Dynamic Controls created by Dynamic Controls


For a registration page I need to constantly create controls
on-the-fly. The input for one control determines the contents of the
next (mostly DropDownLists) control. This is a pretty common practice I
would think.

But, ASP.NET 2.0 will not let me do it. I can dynamically create a
control and read it's PostBack values in the (next) Page_PreLoad event.
But, for a subsequent control to be created based on the value of the
previous control I have to use the next stage, Page_Load. However, for
a control created so late in the PageCycle, ViewState is not restored.

I tried many, many different ways to try and solve this, but none
succeeded. The problem is the PageCycle. It Cycles only once, where I
would need several Cycles for on PageLoad.

Any help/workaround would be greatly appreciated.

Ronald Wijnsema

3.placement of dynamic control depends on VALUE of dynamic control

A dynamic control (A dropdown) is created in PageLoad, but the value of
the dynamic control dictates where it's added (such as which cell in a
table) on a postback.

Seems like a catch-22.  I need to retrieve the value of it, before it's
created... how do I do this?

4.Repeater, Panel, dynamic user control - can't retrieve dynamic controls in code behind

I cut down the code to make this half way understandable... I have
read Data Grid girls caution about over use of dynamic controls.  I
truly believe what I am doing requires dynamically inserted user

Worse I'm trying to add dynamic user controls from within a repeater
loop (looping through attributes)...  I bind to a function in the code
behind and pass in the attribute.

<asp:repeater id="rAttributes" Runat="server">
	     <asp:Panel id="attPanel" runat="server"></asp:Panel>
	     <%# InsertAttributeControl(Container)%>

In the code behind I determine what type of attribute I'm dealing with
(polymorphism) and create the appropriate control to render it.  I
create the control and insert it into a panel as google groups has

// Load the UserControl.
myLB theControl = (myLB)LoadControl("../Controls/myListBox.ascx");

if (theControl != null)
	theControl.ID = "attControl";
	theControl.DataSource = theEnumAtt.Enums;
	theControl.DataTextField = "EnumName";
	theControl.DataValueField = "EnumID";

	// Add control to placeholder

the user updates the form and submits to a wired event..... I spin
through the repeater and get the panel (attPanel), but when I check
the attPanel.HasControls() and it returns false.  It seems the dynamic
controls have disappeared.

foreach (RepeaterItem ri in rAttributes.Items)
	// get controls
	Panel attPanel = ((Panel)ri.FindControl("attPanel"));
	myLB theAttEnum = ((myLB)attPanel.FindControl("attControl"));


Any ideas?



5.Supplying files for donwload to mobile devices using asp.net mobile controls


I'm relatively new to this dotnet stuff and have been tasked with
investigating how all the mobile controls work.

I've done a nice demo site which can display basic words and images but
now I am trying to find out how I can add files (e.g. ringtones and
screensavers) that people coming to our site can download to there

As an example if I have an image and want users to be able to download
it as a screensaver, how do I go about this. I'm hoping it's quite easy
as I know there are lots of sites out there which already do it but I
haven't been able to find any source code examples for it.

If anyone has done this before or can point me to some good websites
with examples it will be much appreciated.



6. Non "mobile" controls on Mobile ASPX

7. Windows Vista Mobile Device Control Center renames mobile device

8. Creating Dynamic Mobile Forms using MMIT

Return to ASP.NET


Who is online

Users browsing this forum: No registered users and 90 guest