Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
203 views
I have a scenario where am processing files completely via Ajax with a custom handler.  As a file is uploaded and processed on the server, it is referenced in another area/control on the page where it can be deleted or otherwise affected.  As such, I want to remove it from the collection of files shown.

I attempted to do this in the fileUploaded event.  I traverse the files array returned from getUploadedFiles, compare the file names, and if it's the same, call deleteFileInputAt.  Unfortunately, this isn't working.  (I'm testing with multiple files of various sizes so that they finish in a random order).  It appears that the array of files returned from getUploadedFiles only includes the actual files that have been completed, so when I attempt to use the index from that array, it doesn't match the index I need to pass to deleteFileInputAt.

In the fileUploaded event handler, I would like a definitive reference to the file related file input, and then have a mechanism to remove that specific input.

Is this possible?

Here's some background in case there's another better way to do this...

I have a list of "things" on a page.  I have a window that I can open that allows me to add a new thing, and optionally upload file attachments for the thing.  I also open the window so the user can edit existing things and manage the attached files.  I would like the mechanism for deleting the files to be the same regardless if this is a new thing or an existing thing.  My plan was to have a list of uploaded files with a delete button for each.  The user could then just click the delete button to delete any attachments.  In order to be consistent with existing things and new things, I wanted to add a file reference to the list of attached files as soon as the file completes uploading, and at the same time, remove the file from the list of files shown in the AsyncUpload control.  Again, is this possible?

Thanks!
LeBear
Top achievements
Rank 1
 answered on 22 Feb 2013
0 answers
2.0K+ views

Q1 2013 (released Feb 20, 2013) brings a significant performance improvement to Telerik’s Grid for ASP.NET AJAX . Till Q1 2013, every hidden column (Visible=”false”) from the control used to store its cell data into the ViewState of the grid. However, in scenarios with many hidden columns or one hidden column bound to a large database this might have negatively impacted the performance of RadGrid.

We improved this behavior, so that the ViewState of RadGrid holds only the visible column data. However, if somewhere into the code you depend on the hidden column’s cell text which now will be empty (set to “ ”), this performance improvement will introduce a breaking change for you.

To resolve the issue for individual columns, you can replace the Visible property of the column with Display in order to get the corresponding value of the hidden column’s cell.

However, if the project is significantly large with many hidden columns or you want all of your invisible columns to hold their data, you can revert to the old behavior by setting the following property in the web.config file of the application:
<appSettings>
    <add key="BindGridInvisibleColumns" value="true"/>
</appSettings>

When the grid detects this setting, it will bind all invisible columns and put their values into the ViewState.

Please note that the BindGridInvisibleColumns property was introduced in 2014 Q2 SP1 (version 2014.2 724). With any previous versions, setting that property will not have any effect and you will still receive the previous behavior.
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 22 Feb 2013
3 answers
55 views

Hello,

I am having a simple requirement, I have JavaScript function to detect if a control is 'changed' (I am using telerik and .net controls). Where as I am 'binding' the JavaScript function on runtime to all controls (attributes.add for .net controls and setting the properties for the telerik controls)

Now this function does work as expected ... until a post-back. As we know, we are going to loose our changes after post-back, So I just wanted to know if there is a way where ...

  • I can actually dump all those formatting attributes to some literal and can later iterate thru them and 're-apply' ?
  • Or is there a way to do partial post-back for just that control so that I do not loose my changes ?
  • Or any other way , you may think of ...

I am emphasising more on getting it done rather emphasising on getting in done correctly. I have had given a thought to add a custom attribute or so, but again I am afraid that I might loose them as soon as the page makes a trip for post-back.

I did spend few hours doing some research but most scenarios yield using hidden variables, I am not feeling it useful for my purpose explained above, but you can correct me.

Another problem was for asp:DropDownList ... I applied styles using JavaScript and nothing happened, I disabled the form decorator and styles were applies properly as expected

Danail Vasilev
Telerik team
 answered on 22 Feb 2013
5 answers
188 views
Is there a Rad control to use that acts like a ComboBox but outputs a 
<select>
<option></option>
</select>

instead of the <ul> <li> it creates?  On mobile devices we want the list to pop up the device's default select option viewer. But since the Rad ComboBox generates a ul li this is not possible.  
Wouldn't it have been a better option to develop the ComboBox as a <select> instead of a <ul>?  I am not quite sure of the reasoning behind that.
But either way, is there a rad control that outputs a <select> drop down list instead of the <ul>.

Thanks in advance.

EDIT:

So a revision to my question. We found that there is a property for the ComboBox to set RenderingMode="Simple", HOWEVER, it does not seem to be switching out our RadComboBox to <select> elements, it is keeping the default. I checked the HTML output in Firebug and nothing has changed.  The RadComboBox is inside a RadGrid that is triggered when "Add new record" selected.
 Any reasons why setting the RenderingMode to Simple doesn't work???
Hristo Valyavicharski
Telerik team
 answered on 22 Feb 2013
16 answers
640 views
I'm using RadGrid with object datasource. I'm using telerik:GridTemplateColumn to display Gender (GenderCode = 1 --> GenderCodeText = male, GenderCode = 2 --> GenderCodeText = female):
<telerik:GridTemplateColumn DataField="GenderCode" DataType="System.Byte" SortExpression="GenderCodeText"
    HeaderText="Gender" UniqueName="Gender">
    <ItemTemplate>
        <asp:Label ID="LblGender" runat="server" Text='<%# Eval("GenderCodeText") %>'></asp:Label>
    </ItemTemplate>
    <EditItemTemplate>
        <telerik:RadComboBox ID="CboGender" runat="server" SelectedValue='<%# Eval( "GenderCode") %>'
            DataSourceID="OdsGenders" DataTextField="Description" DataValueField="Code">
        </telerik:RadComboBox>
    </EditItemTemplate>
</telerik:GridTemplateColumn>

If I export grid values to CSV, all values for Gender are exported as empty string. If I use ExportToExcel (or ExportToWord) instead of ExportToCSV, everything works OK.

Could you help me please?

     Richard
Kostadin
Telerik team
 answered on 22 Feb 2013
3 answers
567 views
I have a ASP.Net app with a user control that contains the RadTreeView control. Currently the RadTreeView control does not have any double click event define. However, double clicking a node in the tree does collapse or expand it's child nodes. I assume this is the default behavior for the RadTreeView. This is the desired behavior we want.

I want to add an OnNodeClick event to this tree so a user can select a node and fire an event.

However, some pages that consume this user control don't want the OnNodeClick event. Instead they want to be able to just select/highlight a node. These are the same pages that want the Double click to expand and collapse the nodes.

When I add the OnNodeClick event to the RadTreeView user control, the pages that want the OnNodeClick event work as desired.

But the original pages that don't want the OnNodeClick event work OK except that the Double Click no longer collapses or expands the nodes. When double clicked, the node collapses then expands immediately.

How can I turn the OnNodeClick event off on some pages and on for other pages?

Or, can I programmatically  define the OnNodeClick event dynamically on the pages that needs it?


Plamen
Telerik team
 answered on 22 Feb 2013
3 answers
131 views
I'm trying to find a solution that solve the following challenge:

1. Load up pre-existing HTML code that will display as a Form
2. Allow users to fill in data using the controls (textboxes, dropdowns, etc.) that were loaded up in the HTML
3. Be able to lock down the rest of the HTML so user are only interacting with the controls
4. Export to a PDF after the user has completed filling in their data.

Can RadEditor do all of this?
Jason
Rumen
Telerik team
 answered on 22 Feb 2013
7 answers
227 views
Hi! Is it possible to customize default action field of insert form? I would like to add default actions so that it would send email when submitted. I just can't find any proper documentation or the code for doing this.. Thanks for your help!

- Jaakko
Rumen
Telerik team
 answered on 22 Feb 2013
1 answer
393 views
I have a radgrid with a column of datatype datetime. I have the below formatting:

 If TypeOf e.Column Is GridBoundColumn Then
            Dim column As GridBoundColumn = e.Column

     If e.Column.DataType.ToString() = "System.DateTime" Then
                column.DataFormatString = "{0:MM/dd/yyyy}"
     End If
End If

But some rows have no values(empty values) for that column.
I want to be able to skip formatting for those rows with empty vales / null values.
How do I do it?

Eyup
Telerik team
 answered on 22 Feb 2013
1 answer
245 views
Hi,

When I used RadAsyncUpload in Visual Studio using localhost it works fine, however, when I move my application to a server and I browse for a file I get the following error:

Invalid JSON: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br><br><html xmlns="http://www.w3.org/1999/xhtml" ><br><head><title><br>    xTAG Data Centre<br></title><link href="css/xdc.css" rel="stylesheet" type="text/css" /><link href="css/sidemenu.css" rel="stylesheet" type="text/css" /><link href="css/jquery-ui-1.8.9.custom.css" rel="Stylesheet" type="text/css" /></head><br><script type="text/javascript" ><br>    /* These code are used to try to log users off when they close a browser without log out.<br>    // However the code is onlyt working in some specific versions of browsers and not always working.<br>    // For now we remove this feature.  Later on we can continue to investigate the possibility.<br>    // Customized login m<br>    var closeTab = false;<br>    window.onbeforeunload = checkBrowserBefore;<br>    window.onunload = checkBrowserUnload;<br><br>    function checkBrowserBefore() {<br>        alert('come before');<br>        //alert(window.event.clientX);<br>        //alert(window.event.clientY);<br>        if (window.event.clientY <= 0 && window.event.clientY <= 0) {<br>            //var result = confirm("Do you really want to close your application?");<br>            //if (result == true) {<br>            //window.location.href = "../Exit.aspx";<br>            closeTab = true;<br>            //PageMethods.AbandonSession();<br>            return "Do you leave the application or stay?";<br>            //alert('Closing Window');<br>        }<br>        else<br>            closeTab = false;<br>    }<br>    function checkBrowserUnload() {<br>        alert('come');<br>        if (closeTab)<br>            window.location.href = "../Exit.aspx";<br>            //alert('unload');<br>    }*/<br></script><br> <br><body><br><center><br>    <form name="aspnetForm" method="post" action="Login.aspx?ReturnUrl=%2fTelerik.Web.UI.WebResource.axd%3ftype%3drau&amp;type=rau" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm"><br><div><br><input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" /><br><input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /><br><input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /><br><input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTExMjc2MTIzOTgPZBYCZg9kFgICAw9kFgICAw9kFgICAQ8PFgIeBFRleHQF/gFZb3UgYXJlIGRpcmVjdGVkIGhlcmUgYmVjYXVzZSB5b3VyIGN1cnJlbnQgcm9sZSBjYW5ub3QgYWNjZXNzIHRoZSByZXF1ZXN0ZWQgcmVzb3VyY2UuICBZb3UgY2FuIGVpdGhlciBsb2cgaW4gd2l0aCBhIGRpZmZlcmVudCBhY2NvdW50IG9yIGFzayB0aGUgYWRtaW5pc3RyYXRvciB0byBtb2RpZnkgeW91ciBhY2Nlc3MgcHJpdmlsZWRnZSwgb3IgdXNlIHRoZSDigJxCYWNr4oCdIGJ1dHRvbiB0byByZXR1cm4gdG8geW91ciBwcmV2aW91cyBwYWdlLmRkGAIFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYCBTVjdGwwMCRNYWluSGVhZGVyMSRIZWFkTG9naW5WaWV3JEhlYWRMb2dpblN0YXR1cyRjdGwwMQU1Y3RsMDAkTWFpbkhlYWRlcjEkSGVhZExvZ2luVmlldyRIZWFkTG9naW5TdGF0dXMkY3RsMDMFH2N0bDAwJE1haW5IZWFkZXIxJEhlYWRMb2dpblZpZXcPD2QCAWSL+oO3nfXN2ZFuvJ1isLVuJYwbwOd1O5mdU7gXfrFkgw==" /><br></div><br><br><script type="text/javascript"><br>//<![CDATA[<br>var theForm = document.forms['aspnetForm'];<br>if (!theForm) {<br>    theForm = document.aspnetForm;<br>}<br>function __doPostBack(eventTarget, eventArgument) {<br>    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {<br>        theForm.__EVENTTARGET.value = eventTarget;<br>        theForm.__EVENTARGUMENT.value = eventArgument;<br>        theForm.submit();<br>    }<br>}<br>//]]><br></script><br><br><br><script src="/WebResource.axd?d=8cLU_hx4_Xp9bo5plhNrF-bucpZZIAEXU_lUwz7se3fG_aNvaiEQRCcq-qDTIYAeSvNS1MSSx8pbZzOrAfcCiG2307XyfBPIC6sLjFb-IcM1&amp;t=634955710607792896" type="text/javascript"></script><br><br><br><script src="/WebResource.axd?d=EX29mnq7CjOWQ9es3TrIWruXHcva4LLhshjr2bNCXGOZQZY2HmJBWz-U7dzIEIwEC-rTMm-E1J5_GXsBq-RXCrthheIE9OoHD-KGY5iJOpc1&amp;t=634955710607792896" type="text/javascript"></script><br><script src="/WebResource.axd?d=ALMW2zqGVsIrmIZCb6JkOqbjVTa_HlsCrGs-GwgdVduMAR8WzooFC85bkt-OHh2M092obNRUGuhGPhmC47Gxhgl8LHc8ynwF8JuVN0TMqe81&amp;t=634955710607792896" type="text/javascript"></script><br><script type="text/javascript"><br>//<![CDATA[<br>function WebForm_OnSubmit() {<br>if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;<br>return true;<br>}<br>//]]><br></script><br><br><div><br><br>    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBQLhnf9fAquvgbQHAqCR4q8OAqm6mq0NAsqVpdkKG75jCGPSjrd3qR87sFWClHrSs5TssNV9mEhmGn8wZFI=" /><br></div><br>    <br>    <table cellpadding="0" border="0" cellspacing="0"><br>        <tr><br>            <td style="height:10px;"></td><br>        </tr><br>    </table><br>    <br>    <table class="master_table"><br>      <tr><br>        <td class="masterstyle1"><br>            <br><br><link href="../css/xdc.css" rel="stylesheet" type="text/css" /><br><br><style type="text/css"><br>    .style2<br>    {<br>        height: 24px;<br>    }<br>    .style3<br>    {<br>        height: 24px;<br>        width: 175px;<br>    }<br>    </style><br><br><table cellspacing="0" cellpadding="0" width="1000px" border="0" <br>    style="height: 86px" ><br>    <tr ><br>        <td style="border-style: none; border-color: inherit; border-width: 0;" <br>            class="style3" /><br>        <td valign="middle" align="right" class="normaltextfont" ><br>            <br>                    Welcome <span class="bold"><span id="ctl00_MainHeader1_HeadLoginView_HeadLoginName">ajhajj</span></span>!<br>                    [ <a id="ctl00_MainHeader1_HeadLoginView_HeadLoginStatus" href="javascript:__doPostBack(&#39;ctl00$MainHeader1$HeadLoginView$HeadLoginStatus$ctl00&#39;,&#39;&#39;)">Log Out</a> ]<br>                <br>            &nbsp;<br>            <a id="ctl00_MainHeader1_HyperLink1" href="Admin/UserAdmin.aspx" style="color:#0066FF;font-family:Arial Rounded MT Bold;font-size:XX-Small;text-decoration:none;"><img src="images/lock.JPG" alt="Admin" style="border-width:0px;" /></a><br>            </td><br>    </tr><br>    <tr valign="top"><br>        <td class="headerbackground" style="width: 175px" ><br>            <img id="ctl00_MainHeader1_Image1" src="images/lmd_logo.jpg" style="border-width:0px;" /><br>        </td><br>        <td valign="middle" align="right" class="headerbackground" style=""><br>            <br><table border="0" cellspacing="0" cellpadding="0"><br>    <tr><br>        <!--<td><br>            <a id="ctl00_MainHeader1_MainMenu1_file" href="Threshold/ThresholdMain.aspx"><img src="images/btn_Threshold4.jpg" alt="" style="border-width:0px;" /></a><br>        </td>--><br>        <td><br>            <a id="ctl00_MainHeader1_MainMenu1_project" href="Project/ProjectMain.aspx"><img src="images/btn_Project4.jpg" alt="" style="border-width:0px;" /></a><br>        </td><br>        <td><br>            <a id="ctl00_MainHeader1_MainMenu1_run" href="Run/RunMain.aspx"><img src="images/btn_Run4.jpg" alt="" style="border-width:0px;" /></a><br>        </td><br>        <td><br>            <a id="ctl00_MainHeader1_MainMenu1_allele" href="Allele/AlleleMain.aspx"><img src="images/btn_Search4.jpg" alt="" style="border-width:0px;" /></a><br>        </td><br>        <td><br>            <a id="ctl00_MainHeader1_MainMenu1_assay" href="Assay/AssaySearch.aspx"><img src="images/btn_Assay4.JPG" alt="" style="border-width:0px;" /></a><br>        </td><br>    </tr><br></table><br>            </td><br>    </tr><br></table><br><br>        </td><br>      </tr><br>      <tr valign="top"><br>        <td class="masterstyle2">  <br>            <br><br>    <div class="loginpage"><br>        <p style="font-family: Arial; text-align: left; vertical-align: top"><br>            Log In<br>        </p><br>        <div style="font-family: Arial; text-align: left; vertical-align:top;  width: 584px; margin-left: 0px;"><br>            <span id="ctl00_ContentPlaceHolder1_LabelNoPermit" class="detailtext" style="color:Red;">You are directed here because your current role cannot access the requested resource.  You can either log in with a different account or ask the administrator to modify your access priviledge, or use the “Back” button to return to your previous page.</span><br>        </div><br><br>        <p class="detailtext" style="font-family: Arial; text-align: left; vertical-align: top"><br>            Please enter your username and password.<br>        </p><br>        <div class="loginmain"><br>            <br>                    <span class="failureNotification"><br>                        <br>                    </span><br>                    <div id="ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary" class="failureNotification" style="color:Red;display:none;"><br><br></div><br>                    <div class="accountInfo"><br>                        <fieldset><br>                            <p class="loginentry"><br>                                <label for="ctl00_ContentPlaceHolder1_LoginUser_UserName" id="ctl00_ContentPlaceHolder1_LoginUser_LabelUserName" class="detailtext">Username:</label><br>                                <input name="ctl00$ContentPlaceHolder1$LoginUser$UserName" type="text" id="ctl00_ContentPlaceHolder1_LoginUser_UserName" class="detailtext" style="width:260px;" /><br>                                <span id="ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired" title="User Name is required." class="failureNotification" style="color:Red;visibility:hidden;">*</span><br>                            </p><br>                            <p class="loginentry"><br>                                <label for="ctl00_ContentPlaceHolder1_LoginUser_Password" id="ctl00_ContentPlaceHolder1_LoginUser_LabelPassword" class="detailtext">Password:</label><br>                                <input name="ctl00$ContentPlaceHolder1$LoginUser$Password" type="password" id="ctl00_ContentPlaceHolder1_LoginUser_Password" class="detailtext" style="width:260px;" /><br>                                <span id="ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired" title="Password is required." class="failureNotification" style="color:Red;visibility:hidden;">*</span><br>                                </p><br>                            <span class="loginentry"><br>                                <span id="ctl00_ContentPlaceHolder1_LoginUser_LabelDomain" class="detailtext">Domain: LUMINET</span><br>                            </span><br>                        </fieldset><br>                        <p><br>                            <input type="submit" name="ctl00$ContentPlaceHolder1$LoginUser$LoginButton" value="Log In" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ContentPlaceHolder1$LoginUser$LoginButton&quot;, &quot;&quot;, true, &quot;LoginUserValidationGroup&quot;, &quot;&quot;, false, false))" id="ctl00_ContentPlaceHolder1_LoginUser_LoginButton" class="button_css" /><br>                        </p><br>                    </div><br>                <br>        </div><br>    </div><br><br><br>        </td><br>      </tr><br>      <tr><br>        <td class="masterstyle3">        <br>            <br><br><link href="../css/xdc.css" rel="stylesheet" type="text/css" /><br><br><table border="0" cellpadding="0" cellspacing="0" width="1000px" <br>    style="height: 76px"><br>    <tr><br>        <td colspan="2" class="footerbackground" style="height: 27px"><br>        </td><br>    </tr><br>    <tr><br>        <td class="footerbackground"; style="height: 16px"></td><br>        <td align="center" class="footerbackground"; style="height: 16px"><br>            <span><i style="font-family: Arial; font-size: 9pt; text-align:center; vertical-align: top ">Copyright 2012, Luminex Corporation.</i></span> <br>        </td><br>    </tr><br>    <tr><br>        <td colspan="2" style="background-color: #FFFFFF"><br>            <img id="ctl00_MainFooter1_image2" src="images/foot_btm.gif" style="height:33px;width:1000px;border-width:0px;" /><br>        </td><br>    </tr><br></table><br><br>        </td><br>      </tr><br>    </table><br>    <br><script type="text/javascript"><br>//<![CDATA[<br>var Page_ValidationSummaries =  new Array(document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary"));<br>var Page_Validators =  new Array(document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired"), document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired"));<br>//]]><br></script><br><br><script type="text/javascript"><br>//<![CDATA[<br>var ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary = document.all ? document.all["ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary"] : document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary");<br>ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary.validationGroup = "LoginUserValidationGroup";<br>var ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired = document.all ? document.all["ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired"] : document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired");<br>ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired.controltovalidate = "ctl00_ContentPlaceHolder1_LoginUser_UserName";<br>ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired.errormessage = "User Name is required.";<br>ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired.validationGroup = "LoginUserValidationGroup";<br>ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";<br>ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired.initialvalue = "";<br>var ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired = document.all ? document.all["ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired"] : document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired");<br>ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired.controltovalidate = "ctl00_ContentPlaceHolder1_LoginUser_Password";<br>ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired.errormessage = "Password is required.";<br>ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired.validationGroup = "LoginUserValidationGroup";<br>ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";<br>ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired.initialvalue = "";<br>//]]><br></script><br><br><br><script type="text/javascript"><br>//<![CDATA[<br><br>var Page_ValidationActive = false;<br>if (typeof(ValidatorOnLoad) == "function") {<br>    ValidatorOnLoad();<br>}<br><br>function ValidatorOnSubmit() {<br>    if (Page_ValidationActive) {<br>        return ValidatorCommonOnSubmit();<br>    }<br>    else {<br>        return true;<br>    }<br>}<br>        WebForm_AutoFocus('ctl00_ContentPlaceHolder1_LoginUser_UserName');//]]><br></script><br></form><br></center><br></body><br></html><br>
Plamen
Telerik team
 answered on 22 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?