Telerik Forums
UI for ASP.NET AJAX Forum
13 answers
193 views
Hi everyone,

I found a potential issue with RowHoverStyle on a grid. Actually, I have a grid with a EnableRowhoverStyle="true" and the RowHoverStyle defined. Everythings work well except Row style doesn't apply when my mouse is over a table in a template column.

It is pretty closed from the selection problem there was is the 2008.1.415 version. My version is 2008.1.515.35.

Are there any workaround ? Is my developpment way correct ?

Regards,
Sebastien.



NEX
Top achievements
Rank 1
 answered on 31 Mar 2009
1 answer
93 views
Hi,

using

protected

void btnExportExcel_Click(object sender, EventArgs e)

 

{

grvAnimalDetl.ExportSettings.ExportOnlyData =

true;

 

grvAnimalDetl.ExportSettings.IgnorePaging =

true;

 

grvAnimalDetl.ExportSettings.OpenInNewWindow =

true;

 

grvAnimalDetl.MasterTableView.ExportToExcel();

 

}


I get the beneath when I use RadGrid export to excel


th+AD4APA-th style+AD0AIg-width:90px+ADsAIgA+-UsageType+ADw-/th+AD4APA-th style+AD0AIg-width:90px+ADsAIgA+-Gender+ADw-/th+AD4APA-th style+AD0AIg-width:120px+ADsAIgA+-Name+ADw-/th+AD4APA-th+AD4-Age+A

(I have  upgraded to the latest hot fix (..runs ok, but maybe not correctly upgraded?)
TIA
Neal
Neal
Top achievements
Rank 1
 answered on 31 Mar 2009
1 answer
97 views
Hi,

I have a grid and paging, filtering enabled. I use client-side databinding and client-side history management. When I run grid, paging and filtering works fine, but when I push browsers back button problem begins.

To see the problem lets look at history.
1 - first load; pageindex = 0, filter = ""
2- push next page button; pageindex = 1, filter =""
3- filter (lets say age column "age < 21"); pageindex = 0 (this is normal, item count changed [27] and pager must be on first page), filter="age < 21"
4- now push back button, pageindex 1, filter ="" read by history control, PageMethods.GetData(dyanmicLinqQuery, sortExpressions.toString(), pageindex, pagesize, updateGrid, webServiceCallFailed) called, and desired data / item count [1152] returns with pageindex=1, and filter="". So I can set mastertableview's pageindex and pager will show "Page 2 of x" which is ture (step 2, pageindex=1). Now updateGrid event fired

function updateGrid(result) { 
tableView.set_dataSource(result.Data); 
tableView.set_virtualItemCount(result.rowCount); 
tableView.dataBind(); 
}  


now it comes to line set_virtualItemCount with itemcount of 1152. set_virtualItemCount internally compares previous item count [27] with current one [1152]. If there is a difference then it calls page(0) method and sets pageindex 0 (actually this could be normal for any other scenarios), and this call also fires my RadGrid1_Command which hits datacontext again. And at the end, pageindex=0 (but must be 1 according to step 2), and there is 2 datacontext hits.
 
So how can I by-pass page(0) event which fired by set_virtualItemCount internally?

Thanks in advance


PS: I am using Q1 2009
Rosen
Telerik team
 answered on 31 Mar 2009
2 answers
139 views

Hi, I followed the instruction / tutorial on this page http://www.telerik.com/help/aspnet/grid/ongroupexpanded.html but I am not able to get it work. rowObj.ItemIndex is returning "undefined". Any idea?

This event is fired after a group is expanded and when MasterTableView.GroupLoadMode="client".

Fired by

RadGrid

Arguments

N/A

Can be canceled

No

Examples

ascx/aspx

<ClientEvents OnGroupExpanded="GroupExpanded"

JavaScript

  <script>

function GroupExpanded(rowObj)

 { 

    alert("Expanded row with index: " + rowObj.ItemIndex);

 }

</script>



Richard
Top achievements
Rank 1
 answered on 31 Mar 2009
1 answer
83 views
Hello,

On my aspx page I have these styles in the header:

<link href="Styles/layout.css" rel="Stylesheet" type="text/css" /> 
 
<!--[if lte IE 7]> 
    <link href="Styles/ie7.css" media="screen" rel="Stylesheet" type="text/css" /> 
<![endif]--> 
     
<!--[if IE 6]> 
    <link href="Styles/ie6.css" media="screen" rel="Stylesheet" type="text/css" /> 
<![endif]--> 
 

The body background color is supposed to be white, as it is declared in layout.css. In my ie6.css I placed a declaration for "body { background: #000; }" so IE6 would have the black background for testing.

In firefox and Safari, everything is fine until there is an ajax call that adds a html form to the page as its response. In that response, in both firefox and safari and IE7, the black background appears from the IE6 style.

Why after the ajax call is the IE6 if statement being removed, yet when I view the source of the page, the statement is still there, just being ignored?

Poking around with firebug, I see that RadAjaxManager creates some sort of array that holds those three <links> from the page. Does it then write that array back after the ajax is successful? Therefore removing the if statements? What the ajax call loads doesn't contain any css declarations itself, just html web forms.

- Jesse Thomson
Dimo
Telerik team
 answered on 31 Mar 2009
1 answer
47 views
test
Paul
Telerik team
 answered on 31 Mar 2009
1 answer
124 views

Hi using the example http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx I want to extend this to about 10 combbox's where the value of each preceding box is populated based on parameters from all other preceding selections (the example just uses one parameter). This way my 10th box will be populated based on the 9 preceding selections. How would I pass each parameter to the next box?
Any pointers would be great!

 

 

Yana
Telerik team
 answered on 31 Mar 2009
1 answer
110 views

Is it possible to deploy two Web applications using different Telerik.Web.UI.dll versions?

I'd use 2008-Q3 and 2009-Q1 installed on server GAC.

I'm still migrating to Telerik an application, because an user control doesn't work properly. Meanwhile I'm using RadScriptManager as a workaround, which seems not to work on 2009-Q1.

 

Paul
Telerik team
 answered on 31 Mar 2009
1 answer
130 views
I am running a stacked bar chart.
SQL data is returned in the format:   Value1, Value2, Date

Any days where value1 and value2 are both zero are not displayed.

Also, if I return more than 10 dates from the query, the chart displays no results at all.

Any suggestions?

Thanks.
Brad Docimo
Top achievements
Rank 1
 answered on 31 Mar 2009
1 answer
117 views
Hi Telerik,
I have a Panelbar in a 100% Height Splitter. ExpandMode="FullExpandedItem" Height="100%".
When I implement a RadAjaxManager, the height of the PanelBar in Firefox "shrinks".

   <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="PanelBar">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="PanelBar" /> 
                    <telerik:AjaxUpdatedControl ControlID="litContent" /> 
                    <telerik:AjaxUpdatedControl ControlID="litComment" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 

I hope, you can reproduce this.

Best regards,
Andreas
Paul
Telerik team
 answered on 31 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?