Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
395 views
I'm using the same page for Adding and editing clients. When I right click on any menu item(Edit Client or Add Client) and  open in a new window/tab, it always opens the page that is in current window/tab.
 In the Radmenu Click event handler, I have the below code.

   Public Shared rqstType As String
  
Protected Sub RadMenu1_ItemClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadMenuEventArgs) Handles RadMenu1.ItemClick
  
        If RadMenu1.SelectedValue = "Add New Clients" Then
                        rqstType = "Add"
            Response.Redirect("frm_Client.aspx")
  
        ElseIf RadMenu1.SelectedValue = "Edit Existing Clients" Then
                rqstType = "Edit"
            Response.Redirect("frm_Client.aspx")
        End If
    End Sub


Thank you
Neelima


Shinu
Top achievements
Rank 2
 answered on 17 Mar 2011
1 answer
128 views
hey there,

how can i make the text of the filter textbox to null after making a search.Which event should i use,n how to get the textbox for a particular column??...

thanks
Amit
Princy
Top achievements
Rank 2
 answered on 17 Mar 2011
2 answers
217 views


How can I get a custom style when the row is selected in the radgrid. I would like to set the backgroundImage and backgroundcolor.


Thanks.
RJ
Top achievements
Rank 1
 answered on 17 Mar 2011
2 answers
188 views
Hi,

is it possible to hide a splitbar if one of the panes next to the splitbar is collapsed?

Best regards
 
Jasper
Top achievements
Rank 1
 answered on 16 Mar 2011
3 answers
106 views
How do you format the radSchedular default selecteddate appearance? Mine defaults to Mar, 2011 unless I manually put something in. I would like it to be March 2011 (current Month Current Year)  and can it be centered in the header? I did not notice any css class in the skin that would handle this.

Thanks!
Mike
Mike
Top achievements
Rank 1
 answered on 16 Mar 2011
2 answers
79 views
Hello,

I've a little problem when using custom colors in rows and press ordering header.
I'm coloring rows in ItemDataBound event based on some values. All works fine, but If the user order the grid clicking in a column, some cells of this column appear in white (without color).

I'm attaching two screenshots with the problem. The BadGrid appear ordering by Order column, and you it's possible to see some Order cells appear in white color and the rest of the row is green (the right color).

Regards
Jose
Jose
Top achievements
Rank 2
 answered on 16 Mar 2011
5 answers
119 views
Hi,

Our project is huge, so I wanted to avoid making an example if possible - and wondered if anyone had an idea about this:

The problem is that you can enable whatever columns you want. Hit export and it will export fine. If you then go back to the grid (without refreshing), and add or remove columns from the view, then export again - the export is the SAME as the original export. So no changes were made.

The export is triggered by a button firing the event and is handled by:

protected void ExportCSVButton_Click(object sender, EventArgs e)
{
    ConfigureExport();
    RadGrid1.MasterTableView.ExportToCSV();
}

Configure export just sets the standard settings like:
RadGrid1.ExportSettings.IgnorePaging = true;
RadGrid1.ExportSettings.FileName = GridID + "_Export_" + DateTime.Now.ToShortDateString();
RadGrid1.ExportSettings.OpenInNewWindow = true;
 
RadGrid1.AllowFilteringByColumn = false;
RadGrid1.MasterTableView.AllowFilteringByColumn = false;

Hopefully someone knows about this.

Cheers in advance.
Daniel
Telerik team
 answered on 16 Mar 2011
2 answers
87 views
I have a rad window that pops up from my page and when it comes up it is completely blank, just the border, buttons on the top and a white background. But if I view source inside of it I can see all the HTML that should be displaying. Content shows up just fine in all other browsers but IE9.
Jason
Top achievements
Rank 1
 answered on 16 Mar 2011
0 answers
87 views
Hello!

I have a grid with a GridTemplateColumn created dynamically on Page_Init.

Dim gtc As New GridTemplateColumn
 
With gtc
    .UniqueName = "gtcQuest"
    .HeaderTemplate = New clsGridViewTemplate(GridItemType.Header, "Quest", "Quest.", "")
    .FilterTemplate = New clsGridViewTemplate(GridItemType.EditItem, "", "", "")
    .ItemTemplate = New clsGridViewTemplate(GridItemType.Item, "pnlQuest", "", "")
    .HeaderStyle.Width = Unit.Pixel(60)
    .HeaderStyle.HorizontalAlign = HorizontalAlign.Center
End With
 
radGrid.MasterTableView.Columns.AddAt(0, gtc)

And in ItemCreated:

Dim btnQuest As New Button
 
btnQuest.ID = "btnQuest"
DirectCast(e.Item.FindControl("pnlQuest"), Panel).Controls.Add(btnQuest)

The column display correctly, but when I use the Pager to move around the other pages the Init is not fired, only the ItemCreated and a error is throw because the panel pnlQuest doesn´t exists.

How I put the column in the grid viewstate to don´t have to create everytime?

Thanks!
Wagner
Top achievements
Rank 1
 asked on 16 Mar 2011
3 answers
143 views
Hi!

Using IE8:

http://demos.telerik.com/aspnet-ajax/ribbonbar/examples/default/defaultcs.aspx

Fires upp some javscript errors:

Message: 'qsfSearchDropDownClosed' is undefined
Line: 755
Char: 5
Code: 0
URI: http://demos.telerik.com/aspnet-ajax/ribbonbar/examples/default/defaultcs.aspx

In Firefox 3.6.15 it works great!

Sincerely, Thomas
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 16 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?