Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
86 views
I wanna create the treeview data, and looks like this.

-Past
    -Example1
             - child1
             - child2
    -Example2
            - child3
            - child4

Until now i dont found any stuff about that, and i facing some problems to do that.
Does anyone know how can i do that?
Princy
Top achievements
Rank 2
 answered on 06 Mar 2012
2 answers
151 views
Hi all, i have a check box in every row of radgrid. User can then choose which record to print by checking the checkbox.They can then print by clicking a button embedded in the radgrid which has the CommandName="Print".This will fires the ItemCommand event and i want to check which checkbox has been checked and then print them out.
My question is i cannot loop through the radgrid via ItemCommand  event.
Can anyone help ?
Please!!

 
johnson lim
Top achievements
Rank 1
 answered on 06 Mar 2012
5 answers
159 views
I'm using Jquery qtip for my tooltips, I have it set to "prettify" the tooltips specified in all title attributes. This works fine with most Telerik controls, but with the rating control, I get double tooltips. One is the pretty qtip, but on top of it appears a second "ugly" tooltip, unprocessed by qtip. I've included a screenshot. I'm just wondering how the default rating items are rendered, do the images get an "alt" tag that might be causing this? Any ideas on how I might get around this?

Thanks

Ross Crawford
Lucania
Top achievements
Rank 1
 answered on 06 Mar 2012
4 answers
73 views
Hi

I'm using the following code to hide all options apart from Daily and Weekly, which is works fine.
$(".rsRecurrenceOptionList").children().each(function (i) {
if (i < 1 || i > 2)
$(this).hide();
});

I now want to have the Daily option checked by default, so added the line of code below, but can't seem to get it working.
$(".rsRecurrenceOptionList li:eq(1) span input").attr("checked", "checked");

Can you please help.

Thanks, Ben
Ben
Top achievements
Rank 1
 answered on 05 Mar 2012
6 answers
286 views
I am using RadCompression but run into problems when I use an axd file to deliver a file (a file download handler). The RadCompression feature always compress this handler and corrupts the file. Is there a way we can configure the behavior of the RadCompression engine in the web.config file. e.g.:

    <Telerik> 
        <RadCompression compressionType="GZip"
            <IncludedMimeTypes> 
                <add mime="text/html" /> 
            </IncludedMimeTypes> 
            <!--<ExcludedMimeTypes> 
                <add mime="text/html" /> 
              </ExcludedMimeTypes>--> 
            <ExcludedPaths> 
                <add path="~/download.axd" /> 
            </ExcludedPaths> 
        </RadCompression> 
    </Telerik> 

Without this capability, I believe this will break many scripts.

UPDATE: it seems to be Firefox 3 specific issue...
msigman
Top achievements
Rank 2
 answered on 05 Mar 2012
8 answers
514 views
Hello,

   I work on a project in which I have a radgrid on the main page. On this radgrid a've activated the filter & sort commands. What I would like to do, is to preserve somewhere (in session, viewstate, etc) the state of the filter columns & sort columns (If the user has put some filters, or if the user has sorted the grid by some columns) so when in the future I'll be back on the main page, to put them (the filters & the sort columns) back.
   Can this be done?

Have a nice day,
Catalin
Simone
Top achievements
Rank 1
 answered on 05 Mar 2012
5 answers
166 views
For some reason, a lot of things appear to be broken using the custom file provider option after upgrading to Q1. I'm using the Custom File Provider that was created by Telerik as an example of how to reference network shares. I'm not sure if it changed with the most recent update, but I know it doesn't work anymore with Q1.

When I attempt to copy a file, I get a permissions error. When I attempt to rename a file, I get a permissions error. I looked at the code a bit and noticed some odd changes. In the GetPath function, it used to pass in the virtual path, but with the update, it's been passing in an empty string. This appears to be the cause of the permissions errors since the path isn't valid.

Is something broken, or was a breaking change released that I'm going to have work around. I didn't see anything in the release notes.

Thanks,
Adam
David
Top achievements
Rank 2
 answered on 05 Mar 2012
1 answer
234 views
I have a grid with a varchar(255). When displaying the grid, none of the values are even close to 255 characters But I am getting this error.  Any ideas as to why?
This is happening on Parent_NeedDataSource
Rusty
Top achievements
Rank 1
 answered on 05 Mar 2012
2 answers
362 views
I was referencing this post earlier: http://www.telerik.com/community/forums/aspnet/grid/radgrid-bind-dropdownlist-after-edit-mode.aspx. The problem with that is my grid item is never of type GridEditFormItem. Here's my method and template code.  How can I find and bind the DDL during edit mode of the row?

protected void MyAccountsGrid_ItemDataBound(object sender, GridItemEventArgs e)
 {
  if (e.Item.IsInEditMode)
  {
    // find the template control
  }
}

<telerik:RadGrid ID="MyAccountsGrid" AllowSorting="true" runat="server" AllowPaging="true" PageSize="20"
  AllowMultiRowSelection="true" AllowFilteringByColumn="true" EnableLinqExpressions="true" AllowAutomaticInserts="false" OnItemDataBound="MyAccountsGrid_ItemDataBound">
  <MasterTableView TableLayout="Auto" AutoGenerateColumns="false"
    AllowFilteringByColumn="true" CommandItemDisplay="Top"
    EditMode="InPlace" ClientDataKeyNames="Id,AccountNumber">
     
    <CommandItemSettings ShowAddNewRecordButton="true" AddNewRecordText="Add" />
      <telerik:GridTemplateColumn HeaderText="MyDDL" UniqueName="MyDDL">
        <HeaderTemplate>
          MyDDL
        </HeaderTemplate>
        <ItemTemplate>
          <%# Eval("AccountType") %>
        </ItemTemplate>
        <EditItemTemplate>
          <asp:DropDownList ID="accountTypeDDL" runat="server"></asp:DropDownList>
        </EditItemTemplate>
      </telerik:GridTemplateColumn>

Ryan
Top achievements
Rank 1
 answered on 05 Mar 2012
6 answers
588 views

Hi ,

I can't seem to bind the source from my datatable. It is not showing anything.

protected void grdDmnDocFolder_NeedDataSource(object o, GridNeedDataSourceEventArgs e)
    {
      DataTable dt = new DataTable();
  
  
      dt.Columns.Add("aaa");
      dt.Columns.Add("ccc");
      dt.Columns.Add("bbb");
  
      DataRow dr = dt.NewRow();
      dr["aaa"] = "a";
      dr["bbb"] = "b";
      dr["ccc"] = "c";
  
      dt.Rows.Add(dr);
      dt.Rows.Add(dr);
      dt.Rows.Add(dr);
      dt.Rows.Add(dr);
  
      grdDmnDocFolder.DataSource = dt;
  
    }

On my aspx page, i already set my OnNeedDataSource event as grdDmnDocFolder_NeedDataSource. What i'm trying to do here is just creating dummy records. What am i missing?

Please help.

Thank you.

Regards,
Dexter
Tsvetina
Telerik team
 answered on 05 Mar 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?