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

Hello,
1) I am trying to bind a radgrid combobox as template column.For that I am handling a ItemdataBound Event.
But I am getting a error because I think I am getting a column header as an Item.So I have to check column type for that.
How to do this.
I tried this
e.Item.ItemType!=Telerik.Web.UI.RadGrid....... somethink like this.

2)And I saw radgrid column type as Dropdown.How to use this?
Thanks in advance.
-Mahesh.

 

Vlad
Telerik team
 answered on 17 Feb 2009
1 answer
121 views
Hi,

I'm trying to create a column in my grid with two buttons; expand/collapse and insert. The expand/collapse button should expand/collapse the child GridTableView (this is working as planned). The insert buttton should expand the child GridTableView (if not expanded) and set the child GridTableView in insert mode. I've been struggling with this for a while now but I can't seem to find any solution for it. Any suggestions on how to do this?

Best regards,
Pether
Princy
Top achievements
Rank 2
 answered on 17 Feb 2009
2 answers
103 views
Hello,

I am not being able to export both mastertable and detailtables. I can only export mastertable.. and no child records :(
I was able to do this in radgrid version 5.0.0.0 !

Private Sub dgVisits_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles dgVisits.ItemCommand
        If e.CommandName = "ExportXLS" Then
                dgVisits.ExportSettings.IgnorePaging = True
            dgVisits.ExportSettings.OpenInNewWindow = True
            dgVisits.ExportSettings.ExportOnlyData = True

            dgVisits.MasterTableView.ExportToExcel()
        end if
  End Sub

Thanks in advance

David
Top achievements
Rank 1
 answered on 17 Feb 2009
2 answers
82 views

Hi,

the Filter did not work until i added EnableLinqExpressions="false" To the Grid?? is it normal or bug? by the way i'm using the latest version of ASPX Ajax Controls...

 


Regards
jalal
Top achievements
Rank 1
 answered on 17 Feb 2009
1 answer
101 views
I had some time to look at some of the changes to the radscheduler, the readonly properly or allowinserts does indeed get rid of the extra space in timelineview as it stated in the history update of the changes
"Setting ReadOnly=true or AllowInsert=false will now hide extra cell space in Timeline View"
however, this seem to disable 

OnClientAppointmentInserting and 

 

OnClientAppointmentEditing
I want to maintain the same behaviour of being able to edit/insert (using my own rad window popup) but only remove the extra space

Peter
Telerik team
 answered on 17 Feb 2009
2 answers
59 views
Hi,

Is there any way to decrease the hours panel width.

Regards ...
Ahmet Hoso
Top achievements
Rank 1
 answered on 17 Feb 2009
1 answer
210 views
Hi,
   I am working on self referential grid. I am using Vista skin. Problem is alignment of grid columns go on toss with self referential grid.

>Manager                          |
    > SubManager                    |
        >reportee                            |

I recognised that it is due to padding in following css.
 
.GridRow_Vista td,  
.GridAltRow_Vista td,  
.GridEditRow_Vista td,  
.GridFooter_Vista td,  
.GridGroupFooter_Vista td,  
.GridFilterRow_Vista td,  
.GridHeader_Vista,  
.ResizeHeader_Vista,  
.GroupHeader_Vista td  
{  
    padding-left:7px;  
    padding-right:7px;  
I made padding to 0px; now the alignment is as required.

>Manager                          |
    > SubManager               |
        >reportee                   |

Problem: I am removing padding here so I thought I can allow indentation by appending spaces to the data.
Some how, even if add space for header text, it still display by trimming. Can we avoid trimming of header text?

Shinu
Top achievements
Rank 2
 answered on 17 Feb 2009
1 answer
196 views
I created a template column with a textbox in the FooterTemplate. Let's say it has an id of "txtInputInFooter".

I would like to retrieve the Text property of the textbox on postback but I am unable to find a way to do so.

I have tried to handle the ItemCommand event and using the following code:
DirectCast(e.Item.FindControl("txtInputInFooter"), TextBox).Text
I get a blank value every time.

This seems like it should be a no brainer, is there something I am missing?

Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 17 Feb 2009
1 answer
224 views
Hi,

I want to achieve below functionality from both client side and server side.

I have registered TabClick event so that I can reload the data shown in a tab. But when I click on first tab then I don't want a post back on server i.e. that tab only contains static data for which I'll not like to have a server hit. I tired implementing OnClientTabSelecting event where in I wrote the code:

var

selectedTabIndex = eventArgs.get_tab().get_index();

 

alert(

"tab index : " + selectedTabIndex);

 

 

if(selectedTabIndex == 0)

 

{

eventArgs.get_tab().set_selected = true;

 

 

eventArgs.get_tab().set_visible = true;

eventArgs.set_cancel(

true);

 

 

 

 

}//if

 


But the tab does not gets selected, the previous selected tab remains selected. Can someone help me out? If I remove the code then post back occurs which is not the required functionality.

Thanks and Regards,
Jaimin
Paul
Telerik team
 answered on 17 Feb 2009
1 answer
90 views
Hi all,

I have a hierarchical radgrid. if i export into excel first column is getting empty and unwanted , how to overcome

Any help thanks.
Princy
Top achievements
Rank 2
 answered on 17 Feb 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?