Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
493 views

I am using a grid with a combobox and a button to save the checked values from the Grid..

When I click the save button the Grid no longer shows up after post back.

I am using the [radgridHardware_NeedDataSource[ and the functionality was working fine when I used the AutoGenerateColumns=true, but once I changed to use the GridBoundColumn the Grid does not work....  

I have tried all the suggestions on a google search (please see below)   Any help would be really appreciated

 

radgridHardware.DataSource = Nothing

radgridHardware.DataBind()

radgridHardware.MasterTableView.SortExpressions.Clear()

radgridHardware.MasterTableView.GroupByExpressions.Clear()

radgridHardware.MasterTableView.Rebind()

radgridHardware.Rebind()

<div id="leftPanel">
<telerik:RadGrid ID="radgridHardware" runat="server" AllowMultiRowSelection="true"
AllowSorting="True" GridLines="None" AutoGenerateColumns="false"
AllowPaging="True" Skin="Sunset"
PageSize="20">
<MasterTableView>
<Columns>
<telerik:GridClientSelectColumn UniqueName="hardwareSelectColumn" HeaderText="Assign"></telerik:GridClientSelectColumn>
<telerik:GridBoundColumn DataField="RawID" Visible="true" HeaderText="ID" UniqueName="RawID"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Vendor" Visible="true" HeaderText="Vendor" UniqueName="Vendor"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Model" Visible="true" HeaderText="Model" UniqueName="Model"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Product" Visible="true" HeaderText="Product" UniqueName="Product"></telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<PagerStyle Mode="NumericPages"></PagerStyle>
<ClientSettings EnableRowHoverStyle="true">
<Selecting AllowRowSelect="True"></Selecting>
</ClientSettings>
</telerik:RadGrid>
</div>

 

Viktor Tachev
Telerik team
 answered on 22 Aug 2016
1 answer
134 views
http://stackoverflow.com/questions/38377796/export-html-table-to-excel-doesnt-open-in-office-2010

the issue is when you export grid to excel in html format will no longer ask you if you wish to open it but will just show as a blank excel.

export to csv still works fine.

is there anything being done about this?
Eyup
Telerik team
 answered on 22 Aug 2016
9 answers
972 views
I've tried implementing the client-side example at http://demos.telerik.com/aspnet-ajax/splitter/examples/clientsideapi/defaultcs.aspx without success.  On my page, when ToggleCollapsePane runs I just get the error 'splitter is null'.  I read somewhere or other while going through documentation on this site that getting the client-side object only works if the script is nested in a <body> tag, which this isn't; the page hasn't got a <body> tag, everything's nested in a content panel.  Is this a major problem?

Is there any way to expand/collapse a pane in the code behind, rather than trying to use the client-side API?
Vessy
Telerik team
 answered on 22 Aug 2016
3 answers
118 views

hello .I have a question about exporting a grid to excel

I have a grid with one numeric column(INT 32) and I want to show the content of this cell with comma (Like 10,000) and when it will export to excel it shows exactly like the content (I mean 10,000 in grid and in excel both) And the main part is I want it will be numeric cell in excel not string cell.

I have added this parts to column  :   DataType="System.Int32" DataFormatString="{0:n0}

but after exporting, this cell format is not numeric .it is string and I should change it to numeric cell manualy . I want it in numeric format .

Thanks in Advanced

Viktor Tachev
Telerik team
 answered on 22 Aug 2016
3 answers
423 views
Q: When dragging rows up or down, how do we capture the new index?

With the new drag & drop features of the 2009.Q2 release, is there a simple example of dragging a RadGrid row up or down?  All the online demos drag *between* grids, but even the online demos do not move the row up or down.

I can do all the database stuff, I just need to know what event to hook into when dropping on the same grid, and how to get the new grid index of the dropped row.

Logically it would be something like:
grid1_rowdropped....
    if startingGrid = droppedGrid then
        get index of new location in grid1 that the row was dropped into
            do database stuff here (I can do this once I get the index passed back)

I just need a little nudge in the right direction.
(If anyone is building a simple sample from scratch, a small ToDo list sample would probably be usefull for the community.)

Thank you,
Mike
Konstantin Dikov
Telerik team
 answered on 22 Aug 2016
2 answers
98 views

I created a menu based on the sample "Menu - Server-side Templates" http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/templates/defaultcs.aspx

unfortunately the submenu links are not working on mobile devices (tested on IPhone 6), same problem with your demo application.

How can I fix the problem.

Regards,

Thomas

Thomas
Top achievements
Rank 1
 answered on 22 Aug 2016
16 answers
639 views
Hi,
I'm using the scheduler to organize appointments on a bunch of rooms; sometimes it happens that the appointment is not for a defined room but for any room available at that moment, i would like to have the appointment item to spread across the columns instead of having single items per every column.
I added a screen shot of what it is and what I'd like to have (manipulated by graphic tools)
Thanks in advance
Plamen
Telerik team
 answered on 22 Aug 2016
4 answers
562 views
I have a page with a few buttons contained in a panel. The buttons will initially be invisible but after some user actions, some of the buttons will be visible. I'm using RadAjaxManager to ajaxify the panel so that the buttons can be visible/invisible.

But one of my buttons need to trigger a downloading of a file, and I need to do a response.write. I did not ajaxify that button, so I assume that it should do a normal non-ajax postback when clicked but it is not working, because I get an ajax error -

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed

So this means that even though I did not ajaxify that button, but because that button was participating in an ajax response (due to it being invisible then visible) triggered by another control, it became ajaxified??

I have read your documentation on "Exclude controls from ajaxifying" but that only mentioned using RadAjaxPanel. I am using RadAjaxManager. So how do I make it work?

I only got this problem with Prometheus, I used to use the Q1 2007 Asp.Net controls and they work fine.

Vasudha
Top achievements
Rank 1
 answered on 19 Aug 2016
1 answer
133 views

Hi All

I'm fairly new to Telerik tools and would like some assistance.

I am using the RadImageGallery component.

Is it possible to connect the 'ImagesFolderPath' property to a share or path on a different server, rather than store all the images within the site?

Thanks

Gary

 

 

 

 

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 19 Aug 2016
1 answer
368 views

I am using a RadGrid to display information and allowing export to CSV option.  I would like to be able to add some additional 'static' information in the first row of the exported CSV file..

i.e.

(ROW 1) - STATIC TITLE

(ROW 2) - Column Header 1, Column Header 2, Column Header 3..etc
(ROW 3 -X) Column Data 1, Column Data 2, Column Data 3..etc 

I have research multi-header/grouping solution, onrgidExporting solution, insertRow - but I am not able to achieve what I am attempting. 

Sample of my grid

<telerik:RadGrid ID="rgTAS" Width="100%"
 AllowSorting="false"
 AllowPaging="false"
 AllowFilteringByColumn="false"
 ViewStateMode="Enabled"
 OnItemDataBound="rgTAS_ItemDataBound"
 AllowMultiRowSelection="false" runat="server"
        OnGridExporting="rgTAS_onExporting"
 GridLines="None">
 <MasterTableView Width="100%" AutoGenerateColumns="false" CommandItemDisplay="None"
            ShowFooter="false" ShowHeader="true"
             >
 <Columns>
               <telerik:GridBoundColumn DataField="cc" HeaderText="CC"></telerik:GridBoundColumn>
               <telerik:GridBoundColumn DataField="country_na" HeaderText="COUNTRY"  ></telerik:GridBoundColumn>
               <telerik:GridBoundColumn DataField="track" HeaderText="TRACK"></telerik:GridBoundColumn>
               <telerik:GridBoundColumn DataField="ia" HeaderText="IA" ></telerik:GridBoundColumn>
            </Columns>
            </MasterTableView>
        </telerik:RadGrid>

 

 

 

Please assist...

 

Kostadin
Telerik team
 answered on 19 Aug 2016
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?