|
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
|
|
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!
|
|
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
|
|
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!
|
|