Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
159 views
Hello
Is it possible  to set PromptChar for RadMaskedTextBox via javascript, something like

var Addr = $find(idAddr);

Addr._setPromptChar("_");

Thanks, Alex.

Princy
Top achievements
Rank 2
 answered on 04 May 2012
1 answer
210 views
what is the fastest way to remove nodes on the client side? I am using 
node.get_parent().get_nodes().removeAt(0)
to get this functionality, but it looks to take comparatively more time, like to remove 200 nodes it takes around 2-3 seconds. Is there any other efficient method/way to achieve this.
Plamen
Telerik team
 answered on 04 May 2012
1 answer
93 views
radtreeview has addNodesTo() method for faster adding a treenodecollection to the treeview. Do we have some simillar kind of method even to insert a treenodecollection to the treeview on the client side. Right now we can only insert one record at a time in the treeview, so is there some way to insert a collection of nodes to the treeview on the client side so that the output is fast.
Plamen
Telerik team
 answered on 04 May 2012
0 answers
168 views
Hi,
I used following code in my page.

<%

 

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<

 

 

form id="form1" runat="server">

 

 

 

<telerik:RadScriptManager ID="RadScriptManagerCP" runat="server">

 

 

 

</telerik:RadScriptManager>

 

 

 

<table cellpadding="0" cellspacing="0" border="0">

 

 

 

<tr>

 

 

 

<td>

 

Est Prod Date

 

&nbsp;</td>

 

 

 

<td style="padding-right: 20px">

 

 

 

<table border="0" cellpadding="0" cellspacing="0">

 

 

 

<tr>

 

 

 

<td>

 

 

 

<asp:TextBox ID="prodDT" runat="server"></asp:TextBox></td>

 

 

 

<td>

 

 

 

<asp:Panel ID="panelProdDT" runat="server">

 

 

 

</asp:Panel>

 

 

 

</td>

 

 

 

</tr>

 

 

 

</table>

 

 

 

</td>

 

 

 

</tr>

 

 

 

<tr><td><asp:TextBox runat="server" ID="txt" TextMode="MultiLine"></asp:TextBox></td>

 

 

 

<td><telerik:RadSpell ID="spell1" Runat="server" ControlsToCheck="txt" IsClientID="true" ButtonText="Spell Check"/></td></tr>

 

 

 

</table>

 

 

 

 

</form>

Now the page is throwing error.
 

 

Object reference not set to an instance of an object.

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   OboutInc.Calendar2.ScriptManagerHelper.RegisterHiddenField(Control control, String name, String value) +145
   OboutInc.Calendar2.Calendar.OnPreRender(EventArgs e) +190
   System.Web.UI.Control.PreRenderRecursiveInternal() +103
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496

But when i remove RadSpell control's tag calender control is working fine.
Please suggest.
Amit
Top achievements
Rank 1
 asked on 04 May 2012
2 answers
319 views
Hi,

I have a few questions to ask. I'm not able to update the data and select the item from the dropdownlist.
I have the code here. It is the exact same things i refer from ( http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultvb.aspx# ). Only change the dropdownlist to ItemTemplate
because it is not populate from the databinding.

<telerik:GridTemplateColumn HeaderText="Branch" SortExpression="Branch" UniqueName="TemplateColumn"
    EditFormColumnIndex="1">
    <ItemTemplate>
        <asp:Label runat="server" ID="lblBranch" ><%# DataBinder.Eval(Container.DataItem, "Branch")%></asp:Label>
    </ItemTemplate>
    <EditItemTemplate>
      <asp:DropDownList ID="DropDownList1" runat="server" >   
        <asp:ListItem Value="KL" >KL Head Office</asp:ListItem>       
        <asp:ListItem Value="PG" >Penang</asp:ListItem>  
        <asp:ListItem Value="JB" >Johor Bahru</asp:ListItem>
      </asp:DropDownList
    </EditItemTemplate
</telerik:GridTemplateColumn>

If I put SelectedValue='<%# Bind("Branch") %>'  at the EditItemTemplate I can update the data but
I cannot add new record. It will appear this error:
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException:
'DropDownList1' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value
And if I remove the SelectedValue, I can add new record but I cannot update the data.
It will appear this error:
User with ID 3 cannot be updated. Reason: Cannot insert the value NULL into column 'Branch', table 'eDMS42.dbo.TblBranchApprover'; column does not allow nulls. UPDATE fails.
The statement has been terminated.
It's been bugging me for a week now. Please help me out.
Sheila
Top achievements
Rank 1
 answered on 04 May 2012
1 answer
552 views
Hi,

I am having a radcombobox which gets populated in ItemsRequested event.I have set IsCaseSensitive to false.All my Items are in uppercase.When i enter an uppercase text it filters correspondingly and i am able to get selectedvalue but when i enter a lowercase text it filters but unable to take selectedvalue.

Plz help
Thnx in advance
Princy
Top achievements
Rank 2
 answered on 04 May 2012
3 answers
128 views
Hello Team,


I am working with RadEditor,when i was  using radeditor
control with Framwork 4.0 i found a extra Rectengulr box at 
the bottom of Radeditor .But as the same control ,when i am 
using with framwork 2.0, its not shown,that i exactlly want.

So,tell me how i can set invisibale mode or remove that
Rectangular Bottom Box


i also attached a simple snap shot hopfully .It's helpfull
for team understanding about issue.
Alok
Top achievements
Rank 1
 answered on 04 May 2012
7 answers
162 views
Hi,
I'm evaluating the newest update. What has changed and been fixed between 2012.1.411.0 and 2012.1.419.0?

I'm looking at the Release History and it doesn't have 419. http://www.telerik.com/products/aspnet-ajax/whats-new/release-history.aspx

Thanks,
Dan
Iana Tsolova
Telerik team
 answered on 04 May 2012
3 answers
96 views
Hello,

I wanted to edit the title of the old thread to convey the seriousness of this topic. Title's aren't editable apparently.

The 2 lists of Release notes I found are both incomplete.

Please update the release notes. Or is there another location where I can read the history?

Old thread: http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/release-notes-for-2012-1-419.aspx

Thanks,
Dan
Iana Tsolova
Telerik team
 answered on 04 May 2012
10 answers
223 views
Hello

I have a Telerik installation on server. Earlier all controls were fine, but now all of a sudden none of them work.
I have copied the Telerik.Web.UI.dll file to the bin folder.

Any quick help will he appreciated.

Screenshot for reference

Controls visible in the image:
1. RadTree
2. RadEditor
Vivek
Top achievements
Rank 1
 answered on 04 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?