Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
243 views
Hi

I have a really specific problem and have already tried to search for a similar problem online. Any help would be most welcome.

I have setup a simple ASP.NET webpage with a RadGrid, a filter TextBox, a Submit button and a Clear Filter button. The data loads up and I can filter the RadGrid using the TextBox without problems. Now I make another webpage that has an iframe tag that points to the former RadGrid page. Everything works fine except on IE 8 (IE 10 works fine, haven't tried IE 9) browser.

What happens is this:
  1. I load up the webpage, the RadGrid is filled with data.
  2. I input some filter in the TextBox and press Submit.
  3. Instead of filtering the search in the RadGrid, all rows in the RadGrid disappears. Clicking on Clear Filter button doesn't bring up the data again as it should normally do. No visable error.
  4. I refresh the page and now the Filter search and Clear Filter work as expected and as often as needed.
  5. If I close IE 8 and open it up again I'm back at step no 1.
Just to note, if I don't use iframe and open the webpage normally, this behavior in IE 8 doesn't pop up.

I can post the code on how I filter the RadGrid, but i just thought that anybody knew of some Telerik vs IE 8 issue that could explained this behavior.

Regards.
Gunnar 
Gunnar
Top achievements
Rank 1
 answered on 28 Jan 2013
2 answers
106 views
I've created my page following this example:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/clienteditbatchupdates/defaultcs.aspx

In this demo the grid row's unique ids are the first column called Product ID which is displayed in the gird. For my application each row's unique id is a GUID which I do NOT want displayed. If I set the visibility of this column to false the ajax does not work because it does not have a unqiue id to pass to the code-behind functions. If I set the visibility to true all works.  From this example it appears I must display the unique id column for the code to work.

How can I not display the GUID but still make it available to the ajax functions to pass to the code-behind file functions?
Darin
Top achievements
Rank 1
 answered on 28 Jan 2013
1 answer
138 views
hi,

i'm using the pirvotgrid to show many fields but i'm trying to show column fields in two lines because i saw all the fields in one line and the part where i look all the information is really small can i show this fields in two lines? 

this is my code and image

<telerik:RadPivotGrid Width="100%"   AllowPaging="true" OnNeedDataSource="RadPivotGrid1_NeedDataSource" 
        ID="RadPivotGrid1" runat="server" ColumnHeaderZoneText="ColumnHeaderZone"
         EnableToolTips="true" 
        AllowFiltering="true" ShowFilterHeaderZone="false" ErrorValue="0" 
         AllowSorting="True"  >
        <ClientSettings EnableFieldsDragDrop="true">
    
            <Scrolling AllowVerticalScroll="true" />
        </ClientSettings>
         <Fields>
            <telerik:PivotGridRowField DataField="field1" Caption ="field1">
            </telerik:PivotGridRowField>
            <telerik:PivotGridRowField DataField="field2" Caption ="field2">
            </telerik:PivotGridRowField>
            <telerik:PivotGridRowField DataField="field3" Caption ="field3">
            </telerik:PivotGridRowField>
            <telerik:PivotGridRowField DataField="field4" Caption ="field4">
            </telerik:PivotGridRowField>
         
            <telerik:PivotGridColumnField DataField="field5" Caption ="field5">
            </telerik:PivotGridColumnField>
             <telerik:PivotGridColumnField DataField="field6" Caption ="field6">
            </telerik:PivotGridColumnField>
             <telerik:PivotGridColumnField DataField="field7" Caption ="field7">
            </telerik:PivotGridColumnField>
             <telerik:PivotGridColumnField DataField="field8" Caption ="field8">
            </telerik:PivotGridColumnField>
 
             
            <telerik:PivotGridAggregateField DataField="field9" Aggregate="Sum"  Caption ="field9" >
            </telerik:PivotGridAggregateField>
            <telerik:PivotGridAggregateField DataField="field10" Aggregate="Sum"  Caption ="field10" >
            </telerik:PivotGridAggregateField>
             <telerik:PivotGridAggregateField DataField="field11" Aggregate="Sum"  Caption ="field11"  >
            </telerik:PivotGridAggregateField>
             <telerik:PivotGridAggregateField DataField="field12" Aggregate="Sum"  Caption ="field12">
            </telerik:PivotGridAggregateField>
             <telerik:PivotGridAggregateField DataField="field13" Aggregate="Sum"  Caption ="field13">
            </telerik:PivotGridAggregateField>
             <telerik:PivotGridAggregateField DataField="field14" Aggregate="Sum"  Caption ="field14">
            </telerik:PivotGridAggregateField>
             <telerik:PivotGridAggregateField DataField="field15" Aggregate="Sum"  Caption ="field15">
            </telerik:PivotGridAggregateField>
             <telerik:PivotGridAggregateField DataField="field16" Aggregate="Sum"  Caption ="field16">
            </telerik:PivotGridAggregateField>
             <telerik:PivotGridAggregateField DataField="field17" Aggregate="Sum"  Caption ="field17">
            </telerik:PivotGridAggregateField>
 
        </Fields>
        <ClientSettings>
            <Scrolling AllowVerticalScroll="true"></Scrolling>
        </ClientSettings>
          
</telerik:RadPivotGrid>

Image

thanks
Antonio Stoilkov
Telerik team
 answered on 28 Jan 2013
4 answers
166 views
Hi!
in my case image map is not available and cannot select image at all in RadEditorMOSS_5_8_16_Q3_2012_Trial
Eriks
Top achievements
Rank 1
 answered on 28 Jan 2013
0 answers
114 views
Delete post
Steven
Top achievements
Rank 1
 asked on 28 Jan 2013
5 answers
263 views
Hi there

I have a situation where my RadGrid has some rows Containing HTML code
http://i47.tinypic.com/1zg69sj.png

When I export this to Excel, I see separate Excel cells instead of a Single one.
http://i48.tinypic.com/2mx1o3n.png

How can I restrict RadGrid to export each field into a single cell?

I found this topic, describing the same problem
http://www.telerik.com/community/forums/aspnet-ajax/grid/export-to-excel-with-line-breaks.aspx#1553210

I'm using an old dll of Telerik but RadGrid has OnGridExporting or OnHTMLExporting  events available
OnGridExporting="grdRapor_GridExporting"

Protected Sub grdRapor_GridExporting(ByVal source As Object, ByVal e As GridExportingArgs)
        If e.ExportType = ExportType.Excel Then
            Dim css As String = "<style type='text/css'> br { mso-data-placement: same-cell; } </style>"
            e.ExportOutput = e.ExportOutput.Replace("</head>", css & "</head>")
        End If
    End Sub
This didnt help me
William
Top achievements
Rank 1
 answered on 28 Jan 2013
1 answer
88 views
I'm working on  a Hierachical RadGrid which is enclosed in an  asp UpdatePanel, and I need to customize it in such a way that - Only the parent rows should be rendered first(the query corresponding to this fetches only the parent rows from the database), and then on the expand button click - the 'Id' corresponding to the row is send via ajax and a different query fetches the child data corresponding to only the selected row.
 Currently I'm invoking an external ajax request through a jquery call from ClientEvents-OnRowClick in the ClientSettings of the grid. Now I'm unable to fill data into 
the child table from the ajax response using jquery.
Is there an easier way to go about it? That is there an inbuilt function to use 2 different queries to grab the data that populates the Hierachical RadGrid - one to get the parent rows and the other to get the child row corresponding to the parent row that is clicked.


Thanks in advance.
Maria Ilieva
Telerik team
 answered on 28 Jan 2013
3 answers
67 views
Hi,

Is it possible to take the Appointment-object from the "clientFormCreated"-funktion, modify it in a separate "telerik:RadWindow" with own logic (search, etc.)  and then send the updated Appointment-object to either OnClientAppointmentWebServiceInserting-function or OnClientAppointmentWebServiceUpdating-function?

I have very little data, just subject, one resource, and date/time, but i need to implement search in some different ways to let the user find the correct resource.

Can i cancel the showing on the advanced form in "clientFormCreated"? I just want to get the Appointment-object.

/Olle



Plamen
Telerik team
 answered on 28 Jan 2013
3 answers
122 views
hello
i want to create an custom button on page that by clicking it, the radgrid will update all records.
i have already button inside grid called "UpdateAll" and i want to fire this button. my grid is always in edit mode.
how can i do this?
Maor
Top achievements
Rank 1
 answered on 28 Jan 2013
1 answer
278 views
My project uses the JavaScript add_close function to attach an OnClientClose event handler to a RadWindow.  The functionality is very similar to the one in the Returning Values from a Dialog example project.  The only difference is that it uses the add_close function described in this RadWindow documentation instead of setting the OnClientClose property. 

I initially developed for Internet Explorer, which has been working perfectly well, but now we find that it doesn't work in Chrome or Firefox.  I put an alert within the OnClientClose function, and it is never being reached.  Can you explain what is different about these browsers that prevents the function from working?

A few extra bits of information, for context: 
  • I have never gotten an error, as some people have experienced.  It never seems to be looking for a function that doesn't exist, it just doesn't try to call the function.
  • The window I am opening has a content URL of another .aspx page within my project.  The window's content does not exist on the same .aspx page, because it needs to be able to direct to different URLs based on certain user input.
  • The window is closed by clicking an "OK" button, which calls a returnToParent function which attaches a result then calls oWnd.close(oArg), just like in the example mentioned above
Marin Bratanov
Telerik team
 answered on 28 Jan 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?