Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
44 views
Hi to all,
How can I do to create a TreeList that has:
First column : treview structure (this is simple, ok)
Second column: must read only
Third column: must edit mode, BUT only for line that is leaf of current node (relative of first column)

Can I do this?
Tsvetina
Telerik team
 answered on 03 Aug 2012
1 answer
172 views
I have a RadListbox with CheckBoxes set to true. What I'm doing is reading data in to the listbox from a sql database and having the checkbox be checked if the data is able to be crossreferenced with another table. 

I am able to populate the listbox with data and have the checkboxes be checked or unchecked on page load. My problem is handing the ItemChecked event. I want to capture the event and pass the value of the list item that had it's check box checked or unchecked to a function in server side code. The function then either creates or deletes a record in my sql database for cross referencing.

For example I have a 4 items in the list, the items consist of a name and a value(a guid), items 1 and 3 are checked on load. When I check item 2 how do I capture the check event and then pass the GUID value to the code?

I attempted to follow the instructions listed here: http://www.telerik.com/help/aspnet-ajax/ajax-client-side-api.html but I had no luck in getting it to call the function much less figuring out how to pass the information I need in the arguments.

Maria Ilieva
Telerik team
 answered on 03 Aug 2012
3 answers
544 views
Hi everybody, I have a problem. I have a radgrid, I create a link button in this radgrid. When I click link button,"Update" link button and "Cancel" link button appears. How to change "Update" text and "Cancel" text? 
Have you any ideas? Thanks!
<telerik:RadGrid runat="server" ID="rgdThongTin" Height="350px" Width="100%" AutoGenerateColumns="false"
                          GridLines="None"
                          onneeddatasource="rgdThongTin_NeedDataSource"
                          ondeletecommand="rgdThongTin_DeleteCommand"
                          onupdatecommand="rgdThongTin_UpdateCommand"
                          oninsertcommand="rgdThongTin_InsertCommand">
                          <MasterTableView  DataKeyNames="STT" AllowMultiColumnSorting="True" Width="100%">
                              <Columns>
                                  <telerik:GridBoundColumn DataField="STT" UniqueName="STT" HeaderText="STT" Visible="false">
                                      <HeaderStyle Width="0px" HorizontalAlign="Left" VerticalAlign="Middle" Font-Bold="True" />
                                      <ItemStyle Width="0px" HorizontalAlign="Left" VerticalAlign="Middle" />
                                  </telerik:GridBoundColumn>
                                   
                                  <telerik:GridEditCommandColumn ButtonType="LinkButton" UniqueName="EditCommandColumn"
                                      EditText="Cập nhật">
                                      <HeaderStyle Width="100px" HorizontalAlign="Left" VerticalAlign="Middle" Font-Bold="True" />
                                      <ItemStyle Width="100px" HorizontalAlign="Left" VerticalAlign="Middle" />
                                  </telerik:GridEditCommandColumn>
 
                              </Columns>
                              <EditFormSettings CaptionFormatString="Edit details for employee with" CaptionDataField="MA_SO">
                                 
                              </EditFormSettings>
                          </MasterTableView>
                          <ClientSettings AllowColumnsReorder="true" EnableRowHoverStyle="true">
                              <Selecting AllowRowSelect="true" />
                              <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                              <ClientEvents OnRowDblClick="RowDblClick" />                         
                          </ClientSettings>
                      </telerik:RadGrid>
Jayesh Goyani
Top achievements
Rank 2
 answered on 03 Aug 2012
1 answer
479 views

Hi,

I am having a user control in RadAjaxPanel of a content page. Now i want to include an image button in the usercontrol which on clicking should export the page content  to a .doc file. i tried this code :
protected void Export(object sender, EventArgs e)
    {
        HttpContext.Current.Response.Clear();
        Response.ContentType = "application/msword";
        Response.AddHeader("Content-Disposition", "attachment;filename=Export.doc");
        StringBuilder strHTMLContent = new StringBuilder();
        strHTMLContent.Append("<html>");
        strHTMLContent.Append(lbExp.Text);
        strHTMLContent.Append("</html>");
        Response.Write(strHTMLContent);
        Response.End();
    }

This is working fine in a demo application with a single button,shows the download window and exports the content but in my application, it is showing the Sys.WebForms.PageRequestmanager.ParserErrorException owing to the RadAjaxPanel used.
I went through several methods of excluding the controls, etc but none works..

Please help me regarding this..
  

Daniel
Telerik team
 answered on 03 Aug 2012
5 answers
83 views
Hello to all,

                 i would like to ask on how to call a pop up panel that when the user click on the selected time or dates it will pop up, coz as of now its the default design that's pop up when i click the time or dates on the scheduler..it is possible please need your support..

thanks
Plamen
Telerik team
 answered on 03 Aug 2012
3 answers
91 views
Hello,
I'm trying to persist my grid settings and I have a strange behaviour when I hide columns.
This is my grid settings:

<telerik:RadGrid ID="rgItems" AllowFilteringByColumn="True" Skin="Windows7" 

 

AllowSorting="True" PageSize="10" ShowFooter="false" AllowPaging="True" AllowCustomPaging="true" runat="server" AutoGenerateColumns="false" GridLines="None" ShowStatusBar="true" EnableLinqExpressions="false" GroupingEnabled="false" Height="320px">

<
GroupingSettings CaseSensitive="false" />

 

<ClientSettings EnableRowHoverStyle="true" AllowColumnsReorder="true" ReorderColumnsOnClient="true" ClientEvents-OnFilterMenuShowing="FilterMenuShowing">

<Scrolling ScrollHeight="235px" AllowScroll="true" UseStaticHeaders="true" />

 

<Resizing AllowRowResize="False" EnableRealTimeResize="False" ResizeGridOnColumnResize="False" AllowColumnResize="True"></Resizing>
</ClientSettings>

 

...
...

</telerik:RadGrid>

If I don't hide columns, all works fine and the saved and restored settings are correct. When I hide columns and save settings I see that the width of the saved columns are not correct. If for example I hide the first column and change the size of the second column, when I save I see (in debug) that the width that I have modified is assigned to the hidden column and so all the grid layout is persisted not correctly.
Is there a way to resolve this issue?

Thanks.

Eyup
Telerik team
 answered on 03 Aug 2012
6 answers
1.1K+ views
I'm using VS2010, C# to develop my ASP.NET web app. I want to use a radControl Upload component, (http://www.telerik.com/products/aspnet-ajax/upload.aspx), I want to change browse button style, I've tested several methods, I've explored your samples and forums but I've found nothing helpful! I'm searching for an easy way to style my browse button, I want to change its background image and size, also how can I change filename textbox beside browse button?
thanks
Kate
Telerik team
 answered on 03 Aug 2012
1 answer
96 views
Hi,

I follow the link below  to export all item of grid. But for .csv format its not working correct i.e. its exporting only Parent grid item not exporting nested grid items. Other format works correct.

Please help me what I am missing.

  http://demos.telerik.com/aspnet-ajax/grid/examples/export/exporthierarchicalgrid/defaultcs.aspx
Princy
Top achievements
Rank 2
 answered on 03 Aug 2012
1 answer
129 views
Can the embedded jQuery be disabled outside of the webconfig?...like in the masterpage?

I've tried in Init and PreInit, but the page size is the same
Maria Ilieva
Telerik team
 answered on 03 Aug 2012
3 answers
56 views
I am using a custom dialog to implement the ImageManager as a standalone file manager for images (outside of RadEditor). I have hidden both the "Insert" button of the FileBrowser UserControl and the "Properties" tab of the ImageManager UserControl. However, if a user double clicks on an image, it still assuems they are trying to insert the image in some content and this results in the ImageManager dialog closing. Is there a way to disable the double click for files within the FileBrowser control in my custom dialogs?
Rumen
Telerik team
 answered on 03 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?