Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
194 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
141 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
85 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
59 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
95 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
79 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
77 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
114 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
1 answer
46 views
Hi,

As the post title says m kinda confused about this, i have a CascadingDropDown ASP control which is filled by a WebService but when i try to "Ajax-enable-it" with RadAjax i got a strange bug on a telerik resource which seems to be a RadAjaxManager caller and the only thing i can see in the error console from Firefox is "b is null" and obviously any postback raises the same error.
Taking out the control makes everything work perfect but as you may understand isn't a solution, also tried to mitigrate that control to RadComboBox but samething happen...
M gonna try to make some some example code tomorrow but maybe someone here already experience something similar and know the answer...

Best Regards
Josue
Top achievements
Rank 1
 answered on 16 Mar 2011
5 answers
418 views
I am trying to style the Header, Footer and Items in the dropdown list. I have created a custom style sheet which works fine for most things but I can't seem to able to control the padding in these sections. I don't see any padding syles defined in the style sheet I based my custom style from (Vista). I am able to style through code but I rather do it through the style sheet. This is what I am doing now:

Me.RadComboBox.Header.Style.Add("padding", "3px")
Me.RadComboBox.Footer.Style.Add("padding", "3px")

and in the RadComboBox_ItemsRequested():

Dim objItem As New RadComboBoxItem()
objItem.Style.Add("padding", "0px")
objItem.Style.Add("padding-left", "2px")
objItem.Style.Add("padding-bottom", "1px")

Why does this no work in my custom CSS:

.RadComboBoxDropDown_Vista .rcbHeader,
.RadComboBoxDropDown_Vista .rcbFooter
{
     background-color: #f1f2f4;
     background-position: 0 -110px;
     padding: 3px;      /*added this*/   
}

The other issue that I haven't found a solution for even through code is to eliminate the spacing that is automaticaly added between elements placed in the Head and Footer. Even after removing the padding and margins in these sections there are still spaces of about 4px placed between them.
Bort
Top achievements
Rank 1
 answered on 16 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?