Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
81 views
I was working on a radchart and it would not display in my page. I used the add httphandler to web.config link on the smart tag to create a web.config for my plugin, so I could see if I needed to add to the sites web.config. After adding the lines to the web.config the chart appeared and I deleted my plugins web.config. Now the chart smart tag and properties are gone. I am assuming that removing the web.config caused them to disappear. I was wondering if there is anything I can do to bring back the properties and smart tag.
Ves
Telerik team
 answered on 01 Feb 2013
1 answer
104 views
how do i fix this problem Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Specified argument was out of the range of valid values.
Parameter Name:index;
Maria Ilieva
Telerik team
 answered on 01 Feb 2013
1 answer
100 views
Hi 

We have a requirement where we want to save phone numbers into the DB along with the formatting of (###) ###-#### .

These numbers are entered on a RadGrid, where I use a GridMaskedColumn with a Mask of (###) ###-####  so that the auto-edit form displays the mask for the user when he is entering the number.
But once the user has entered the number and presses the insert link, it the numbers w/o the formatting into the DB field.

Question: How do I set up my GridMaskedColumn (or any other type of GridColumn) so that the generated edit form will have the text field with the Mask and also insert / update the data along with the mask?

FWIW - I found that the MaskedTextBox control has a TextWithLiterals property which returns the string with the formatting, but I'm not sure how to force the edit form to save this TextWithLiterals instead of just the Text.

Any guidance will be very much appreciated.

Thanks
Vasil
Telerik team
 answered on 01 Feb 2013
1 answer
77 views
Hey at Telerik

I am trying to set the text of a radpanelitem when the item is either expanding or collapsing.

I have set the a text on the value attribute and i would like to switch the text to nothing when the item is collapsed and the text from the value attribute when the item is expanded.

I use the method set_text, but it doesn't seem to work.

I have attached a sample project showing my problem here.
http://kort2.lifa.dk/Examples/RadPanelBarClientsideSetTextIssue.rar

I hope u can help me.

Sincerly Jan
Kate
Telerik team
 answered on 01 Feb 2013
2 answers
106 views
Hai

     How can I set my radgrid in insert mode on loading. Please help

thanks
RT
Jayesh Goyani
Top achievements
Rank 2
 answered on 01 Feb 2013
3 answers
729 views
Hi, 

I have the following ListBox and I want to loop through the values entered into the text box and enable a button if they pass validation.

<telerik:RadListBox ID="rlbDocuments" runat="server" EnableDragAndDrop="True" AllowReorder="True" Height="400px" Width="480px" ButtonSettings-ShowReorder="False">
  <HeaderTemplate>
    <div style="width: 88px; text-align: center; clear: none; float: left;">Page Count</div>
    <div style="width: 160px; clear: none; float: left;">Document Name</div>
    <div style="width: 160px; clear: none; float: left;">Document Type</div>
  </HeaderTemplate>
  <ItemTemplate>
    <div style="width: 100%; height: 28px;">
      <input id="txtPageCount" type="text" style="width: 40px; margin: 0 18px; clear: none; float: left;" onchange="txtPageCount_TextChanged()" />
      <div style="width: 160px; clear: none; float: left;"><%# Eval("documentName") %></div>
      <div style="width: 160px; clear: none; float: left;"><%# Eval("documentType") %></div>
    </div>
  </ItemTemplate>
</telerik:RadListBox>

I've gone through your examples using and tried some things like below, but I have not found the magic formula for finding the text box in each row and getting its value.

var list = $find("<%= rlbDocuments.ClientID %>");
 
var items = list.get_items();

I'm finding the list and getting its items, but cannot find the controls inside each row. Can you please give me some guidance here?

Thanks,
John

Kate
Telerik team
 answered on 01 Feb 2013
2 answers
124 views
Hello,
           How to create a property bar by webapplicaion
Regards
Sreejesh
Sreejesh
Top achievements
Rank 1
 answered on 01 Feb 2013
1 answer
108 views
I enabled RadEditor on HTML fields. On an existing page with content and images, I click one of the images, then click Image Manager and it throws the old classic error (in the rad dialog):

'Object reference not set to an instance of an object'

When I don't highlight an image (in the same editor pane), and click Image Manager, the dialog pops up without error. What can be concluded from this? Is the Image Manager trying to set its initial broswe location to an old path that cannot be found?

Here is the Event Viewer Log that it throws:

Thread information:

Thread ID: 25

Thread account name: *****************
Is impersonating: False

Stack trace: at Telerik.SharePoint.Editor.SPContentProvider.CheckPermissionsInternal(String folderPath, PathPermissions permToCheck)

at Telerik.Web.UI.RadFileExplorer.ExpandNestedFolder(String nodeValue)

at Telerik.Web.UI.RadFileExplorer.BindExplorer()

at Telerik.Web.UI.RadFileExplorer.OnLoad(EventArgs e)

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Rumen
Telerik team
 answered on 01 Feb 2013
7 answers
255 views
I am building a user .ascx control that contains a RadGrid. On row double click I have to be able to get Id value of that grid and a value in "Title" column and place them in TextBoxes on a parent form. Now, I have made a custom event for this (called it SelectEvent) which will be handled on parent form, and have defined custom event args class (PickereventArgs with two properties: int ID, string Title). I want to raise that event on SelectedIndexChanged of the RadGrid in .ascx like this
protected void gridPicker_SelectedIndexChanged(object sender, EventArgs e)
{
 
    foreach (GridDataItem item in gridPicker.SelectedItems)
    {
        if (item.Selected)
        {
            if (SelectEvent != null)
            {
                PickerEventArgs args = new PickerEventArgs();
                args.Title = item.Cells[1].Text;
                args.Id = Convert.ToInt32(item.Cells[0].Text);
                SelectEvent(this,args);
                gridPicker.DataSource = null;
                this.Visible = false;
            }
        }
    }    
}

but I can't fire OnSelectedIndexChange with double click on row.
Help, anyone? I need it quickly because I have a deadline and my boss is getting a bit nervous :)
Princy
Top achievements
Rank 2
 answered on 01 Feb 2013
1 answer
80 views
Hi
I want to assign color to radgrid row checking whether the gridcheckboxcolumn is checked or not.
thanks
Allen
Shinu
Top achievements
Rank 2
 answered on 01 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?