Welcome Guest Search | Active Topics | Sign In | Register

Show Dialog/Get Result Options
mburolla
Posted: Tuesday, April 14, 2009 11:48:12 AM
Rank: Advanced Member
Groups: Member

Joined: 4/13/2009
Posts: 37
I created a simple dialog that contains a textbox and a button. I'm able to show the form and close it, but I am not able to get the value of the textbox in C#. Can you please provide an example?

Also... Can the AJAXFileUploader support selecting and uploading multiple files?

Thanks,
Marty
eo_support
Posted: Tuesday, April 14, 2009 2:04:12 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The TextBox is not directly in your page, so you need to get the textbox instance first:

TextBox textbox = (TextBox)Dialog1.ContentContainer.FindControl("TextBox1");

AJAXUploader supports uploading multiple files. But you can only select one file a time, which means if user wants to upload multiple files, they will need to browse multiple times. Selecting multiple files at the same time is technical possible with Adobe Flash, which means that particular feature will need Flash to be installed on client machine.

Thanks!
mburolla
Posted: Wednesday, April 15, 2009 9:17:40 AM
Rank: Advanced Member
Groups: Member

Joined: 4/13/2009
Posts: 37
Wow, that's SIMPLE and EASY! Thanks.

FYI - I was researching the Window control from Telerik (like your Dialog control). I asked Telerik support the same question for their control and here's what they said: If you want to receive the argument to the server, you need to send it somehow.

MB
eo_support
Posted: Wednesday, April 15, 2009 9:25:58 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

I am glad to hear that you are happy with our product and service. We put in great amount of effort not only into the product, but also into our support. We view both as extremely important that help us to deliver the best value on the market.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.