
Jeff Adkisson
Top achievements
Rank 1
Jeff Adkisson
asked on 02 Apr 2009, 11:00 PM
It appears that RadFileExplorer causes validation to fire when you click the Upload button... There isn't a property to disable validation. I have a validation summary in my master page and it lights up with the form validation controls every time I click upload. I worked around it, but thought I'd report it.
Regards - Jeff
6 Answers, 1 is accepted
0
Hi Jeff,
Thanks for reporting this. We will set the upload button's CausesValidation property to false so it does not trigger the client validation when trying to upload files from the FileExplorer control.
Greetings,
Lini
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Thanks for reporting this. We will set the upload button's CausesValidation property to false so it does not trigger the client validation when trying to upload files from the FileExplorer control.
Greetings,
Lini
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0

Chris
Top achievements
Rank 1
answered on 18 Jun 2009, 10:47 PM
Has there been any progress on this? I have the latest build, and the upload button still triggers page validation...
0
Hello Chris,
We fixed the behavior that Jeff reported in the newer versions (after 2009.1 402).
In your case I suppose that you get error message of the Validation summary, when you click the "Upload" button on the ToolBar. If so, you can use the following code in order to set the CauseValidation="false" of the buttons in the toolbar.
I hope this helps.
Best wishes,
Fiko
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
We fixed the behavior that Jeff reported in the newer versions (after 2009.1 402).
In your case I suppose that you get error message of the Validation summary, when you click the "Upload" button on the ToolBar. If so, you can use the following code in order to set the CauseValidation="false" of the buttons in the toolbar.
protected void Page_Load(object sender, EventArgs e) |
{ |
foreach (RadToolBarItem item in RadFileExplorer1.ToolBar.Items) |
{ |
RadToolBarButton button = item as RadToolBarButton; |
if (button != null) |
{ |
button.CausesValidation = false; |
} |
} |
} |
I hope this helps.
Best wishes,
Fiko
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0

Chris
Top achievements
Rank 1
answered on 19 Jun 2009, 03:22 PM
Thanks for the workaround.
I actually ended up using a validation group on my page. :-)
I actually ended up using a validation group on my page. :-)
0

Brad
Top achievements
Rank 1
answered on 11 May 2010, 08:27 PM
The same behavior is caused by the Create New Folder button as well. This seems like something that really should be incorporated as a bug fix in your current tools considering this issue was reported more than a year ago. No?
0
Hi Brad,
This is the expected behavior and it is by design. For the time being we do not plan to change it and I recommend you to use the provided code in order to disable validation for RadToolBar, embedded in RadFileExplorer:
I hope this helps.
All the best,
Fiko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
This is the expected behavior and it is by design. For the time being we do not plan to change it and I recommend you to use the provided code in order to disable validation for RadToolBar, embedded in RadFileExplorer:
protected
void
Page_Load(
object
sender, EventArgs e)
{
foreach
(RadToolBarItem item
in
RadFileExplorer1.ToolBar.Items)
{
RadToolBarButton button = item
as
RadToolBarButton;
if
(button !=
null
)
{
button.CausesValidation =
false
;
}
}
}
I hope this helps.
All the best,
Fiko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.