Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
130 views
I have a rad treeview. i want an image to be shown with every node. How can I do that. please help me.
Princy
Top achievements
Rank 2
 answered on 23 May 2012
1 answer
109 views
Can i open a RadWindow at  different locations with adjusting its size??
Shinu
Top achievements
Rank 2
 answered on 23 May 2012
4 answers
350 views
I followed your great documentation on Export RadGrid content to Excel/Word/CSV/PDF with Ajax enabled . It works flawlessly - the export itself.

My javascript code is very close to the example code provided:
function requestStart(sender, args) {
    if (args.get_eventTarget().indexOf("lnkExportExcel") >= 0)
        args.set_enableAjax(false);
}


But after exporting the AJAX remains disabled. How do I re-enable AJAX after the RadGrid has been exported? Do i need to refresh the whole page or is there something like "radGrid.Re-EnableAJAX()" via Javascript?

Maybe you could update your documentation on re-enabling Ajax as well.
Jayesh Goyani
Top achievements
Rank 2
 answered on 23 May 2012
5 answers
388 views
I have a radgrid. In this RadGrid I have a DropDown list that contains value 0 to number of rows in grid-1. I want to move rows up and down on basis of dropdown selected index value for that grid. If in dropdown selected index is 2(Value is 1) then this rows should display at  osecond row in Rad grid.

Please suggest.

Thanks.
Shinu
Top achievements
Rank 2
 answered on 23 May 2012
1 answer
58 views
Hi,

I was trying to customize a filter so that it'll filter the grid according to a predefined string. I was looking for a way to work around the issue of filtering a string that contains special characters.

basically, if the user select a filter with a name of "greater"...then it'll return all items that has the value ">130hp"...otherwise, if a user select a filter with a name of "less"....then it'll return all items that has the value "<130hp"

the following contains my initial code...copied and modified from the telerik documentation. Any assistance is welcome.


protected

 

 

void GridChevronPortEQ_ItemCommand(object sender, GridCommandEventArgs e)

 

{

 

 

if (e.CommandName == RadGrid.FilterCommandName)

 

{

 

 

Pair filterPair = (Pair)e.CommandArgument;

 

 

 

if (filterPair.First.ToString() == "greater")

 

{

 

 

string colName = filterPair.Second.ToString();

 

 

 

TextBox tbPattern = (e.Item as GridFilteringItem)[colName].Controls[0] as TextBox;

 

 

 

string[] values = tbPattern.Text.Split(' ');

 

 

 

if (values.Length == 2)

 

{

e.Canceled =

 

true;

 

 

 

string newFilter = "(([" + filterPair.Second + "] >='" + values[0] + "') AND ([" + filterPair.Second + "] <='" + values[1] + "'))";

 

 

 

if (GridChevronPortEQ.MasterTableView.FilterExpression == "")

 

{

GridChevronPortEQ.MasterTableView.FilterExpression = newFilter;

}

 

 

else

 

{

GridChevronPortEQ.MasterTableView.FilterExpression =

 

"((" + GridChevronPortEQ.MasterTableView.FilterExpression + ") AND (" + newFilter + "))";

 

}

GridChevronPortEQ.Rebind();

}

}

}

}

Antonio Stoilkov
Telerik team
 answered on 23 May 2012
1 answer
130 views
Hi Telerik Team,

My environment is MOSS 2007, a published internet site (anonymous access enabled) with output cache enabled. Details:
- A Rad Catpcha control is used on a Page Layout. A page instance has been created (e.g. page1.aspx).
- A RadScriptManager is declared on the page layout.
- Some of ASP.NET controls (e.g. textbox) and some built-in ASP.NET validators are also used (e.g. RequiredFieldValidator).
- Web resource handler is also registered in web.config.

My problem is that all the asp.net validators are not got validated at client side on submission. After investigated, I guess the problem is because the rendered page (page1.aspx as the example above) could not reach the ScriptResource.axd but I don't know why and how to get client script validated on those server controls. If I remove the RadScriptManager and RadCaptcha from the page layout, everything works as normal (i.e. client side validation takes place).

Could you please help me on this?

P/S: everything works well on my edit site (the internal version of that published internet site).

Thanks,
Them
Slav
Telerik team
 answered on 23 May 2012
5 answers
236 views
Using FileExplorer with the EnableAsyncUpload="true" how do I see when the FileUploaded Event on the server side is fired?
Dobromir
Telerik team
 answered on 23 May 2012
1 answer
80 views
Hello,

I have a RadGrid with "EditFormType = GridEditFormType.Template" with "InsertItemDisplay = GridInsertItemDisplay.Top". The list contains two pages. When I'm on page 1 and click the insert command, the grid jumps to page 2 and opens the editform. 
Why does the Grid jump to page 2?
Jayesh Goyani
Top achievements
Rank 2
 answered on 23 May 2012
1 answer
130 views
I have grid in which i want have my own styling? i set <SelectedItemStyle CssClass="gridSelectedItemStyle"/>(
in css
.gridSelectedItemStyle 
{
    background: #A7CDF0 !important;
}
)
and SortingSettings-SortedBackColor="Green"
When i sort by any column, all rows in this column have Green Color, and when i click on any row, this row start to be A7CDF0 color, but sorted row still "Green", i want that all cells in  selected row will be "A7CDF0" background. Screen in attachment.

Andrey
Princy
Top achievements
Rank 2
 answered on 23 May 2012
0 answers
103 views
Hello,

I have a problem with RadGrid, where MyRadGrid.MasterTableView.FilterExpression works only with one filter and I would like to use multiple filters together. I am using standard filters and custom filtering columns.

From what I have read on these forums and in the documentation the FilterExpression needs to be set manually for each column.

It is not very clear to me how I should do that for the standard filters. I am using a NeedDataSource event to bind the grid.

Software versions are as follows:
Windows 7
ASP.NET 4
Visual Studio 2010 Premium
Telerik RadControls for ASP.NET AJAX v.2010.2.826.40

Any help is appreciated.
Ivan
Top achievements
Rank 1
 asked on 23 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?