Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
149 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
249 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
423 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
285 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
10 answers
778 views
Hi,

I extensively use RadWindow to edit records from a dataset and this has all been working great. I recently switched from using asp:button to RadButton and my CloseWindow() code does not seem to work when called from RadButton.

I have added both an asp:button and telerik:Radbutton to a page as below:
<asp:Button ID="Button1" runat="server" Text="Cancel"
    Width="100px" OnClientClick="CloseWindow();" />
<telerik:RadButton ID="btnCancel" runat="server" Text="Cancel"
    Width="100px" OnClientClicked="CloseWindow();" CausesValidation="false"></telerik:RadButton>

The asp:button correctly closes the window, but the RadButton does not. Am I doing something wrong here?

When I click on the button I get the following message from explorer:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; FDM)
Timestamp: Fri, 10 Jun 2011 11:13:14 UTC

Message: Expected '}'
Line: 639
Char: 262
Code: 0
URI: http://localhost:1580/P5Time/(S(1jnywutrtzbw552lk2ry5mgd))/EditEvent.aspx?Mode=Insert&Start=2011-06-07+09%3a30&IsAllDay=false&duration=15&rwndrnd=0.9248140078625935

And the source indicated is shown below:
Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadButton, {"_postBackReference":"","clientStateFieldID":"btnAddFavourite_ClientState","iconData":{},"imageData":{},"text":"Add Favourite","toggleStatesData":[],"uniqueGroupName":"","uniqueID":"btnAddFavourite","width":"100px"}, null, null, $get("btnAddFavourite"));
});
Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadButton, {"_postBackReference":"","clientStateFieldID":"btnSave_ClientState","iconData":{},"imageData":{},"text":"Save","toggleStatesData":[],"uniqueGroupName":"","uniqueID":"btnSave","width":"100px"}, null, null, $get("btnSave"));
});
Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadButton, {"_postBackReference":"","clientStateFieldID":"btnExport_ClientState","iconData":{},"imageData":{},"text":"Export","toggleStatesData":[],"uniqueGroupName":"","uniqueID":"btnExport","width":"100px"}, null, null, $get("btnExport"));
});
Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadButton, {"_postBackReference":"","clientStateFieldID":"btnSaveAndClose_ClientState","iconData":{},"imageData":{},"text":"Save + Close","toggleStatesData":[],"uniqueGroupName":"","uniqueID":"btnSaveAndClose","width":"100px"}, null, null, $get("btnSaveAndClose"));
});
Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadButton, {"_postBackReference":"","clientStateFieldID":"btnDelete_ClientState","iconData":{},"imageData":{},"text":"Delete","toggleStatesData":[],"uniqueGroupName":"","uniqueID":"btnDelete","width":"100px"}, null, null, $get("btnDelete"));
});
Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadButton, {"_postBackReference":"","clientStateFieldID":"btnCancel_ClientState","iconData":{},"imageData":{},"text":"Cancel","toggleStatesData":[],"uniqueGroupName":"","uniqueID":"btnCancel","width":"100px"}, {"clicked":CloseWindow();}, null, $get("btnCancel"));
});

The error seems to indicate an issue around the btnDelete definition but it looks the same as all the others. Other RadButtons on the same page appear to work correctly, but they all call server code whereas this Cancel button only calls a javascript function.

David Penny


MTC
Top achievements
Rank 1
 answered on 22 Feb 2013
1 answer
69 views
Hi!

I am currently using the Telrik RadFilter and would like to know whether it is possible to modify the property dropdown on an already creadted FieldEditor so that instead of providing a drop down of options, which the user can select to change the expression, display a popup window similar to the popup window that is used to add the expression in the first place.

If this cannot be done, is it possible to modify the drop down so that it is a lookup, allowing users to type in a property name making it easier to find the correct property?

Many thanks for any help.

Kind regards

Richard
Marin
Telerik team
 answered on 22 Feb 2013
4 answers
526 views
I have a fairly conventional grid with multiple filtered columns.  Is it or isn't it possible to clear all filters at once in JavaScript?

I've looked at multiple examples in this forum but I haven't been able to get anything to work correctly so far.  I don't see any clear definitive answers.
Boris
Top achievements
Rank 1
 answered on 22 Feb 2013
1 answer
202 views
I installed the Q1 '13 update this afternoon.  When I open my visual studio project and attempt to upgrade the project from the latest 2012 extensions to the new extensions I get an error in VS that states RADControls for ASP.NET AJAX Visual Studio Extensions have recovered from an error.  The details of the error are below.  

I have uninstalled and reinstalled the extensions using the control panel, and I still have this issue. Any advice?

Failed to execute command.

System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
   at EnvDTE._DTE.get_ActiveSolutionProjects()
   at Telerik.VSX.Internal.ProjectManagement.ProjectRetriever.GetFirstSelectedProject(DTE dte)
   at Telerik.VSX.Internal.ProjectManagement.ProjectRetriever.GetFirstSelectedProject(IServiceProvider serviceProvider)
   at Telerik.VSX.Internal.ProjectManagement.ProjectWrapFactoryBase`1.GetForFirstSelectedProject(IServiceProvider serviceProvider)
   at Telerik.Web.UI.VSX.ProjectConfigurators.ProjectConfigurationStyles.ProjectUpgrade(IServiceProvider serviceProvider)
   at Telerik.Web.UI.VSX.ProjectConfigurators.StreamlinedProjectConfiguration.StartUpgradeWizard()
   at Telerik.Web.UI.VSPackage.CommandExecutor.Execute(UInt32 commandId)
   at Telerik.VSX.VSPackage.PackageBase.CommandCallback(Object sender, EventArgs e)
Vesko
Telerik team
 answered on 22 Feb 2013
1 answer
130 views
Hi I have a Generic list of items that I want to bind to the DropDownTree. Is it possible to show some items as checked when the list is bound to the Tree? 
Peter Filipov
Telerik team
 answered on 22 Feb 2013
6 answers
643 views
I am buiding my RadGrid in the Code-Behind because it could change upon a post-back. I am adding my columns one at a time and binding them to the columns within my SqlDataSource. One of the types is the GridCheckBoxColumn.

I set the DataField and HeaderText. The DataField is a column that is a BIT type in Sql Server. I even tried TinyInt.

When I run my program I get an error stating 'String was not recognized as a valid Boolean'.

I am setting the RadGrid's DataSourceID to a asp:SqlDataSource that is a select statement.

How do I get around this error?
Kostadin
Telerik team
 answered on 22 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?