Telerik Forums
UI for ASP.NET AJAX Forum
18 answers
460 views
Hi,

I am trying to add a new filter function to implement the "IN" SQL function. Users will specify a list of values that they want to filter on and then select the "In" item from the filter menu for a given column. I have done the following so far:

1. Added a new RadMenuItem to the GradFilterMenu in Page_Init() and set its Text and Value properties to "In"
2. Added an event handler for the GradFilterMenu's ItemClick event
3. Added an event handler for the ItemCommand event.

When I debug the code, I get the following error:

Microsoft JScript runtime error: Sys.ArgumentException: 'In' is not a valid value for enum Telerik.Web.UI.GridFilterFunction.
Parameter name: value


Not exactly sure how to proceed from here. Could you please help?
Anand
Top achievements
Rank 1
 answered on 19 Sep 2016
2 answers
3.0K+ views
Hi to All,

am dwnloding radcontrols for asp.net from http://www.telerik.com/products/aspnet-ajax/download.aspx
but am getting error like this 

unable to find a version of the runtime to run this application.
how to resole it plz tell me

toy
Top achievements
Rank 1
 answered on 18 Sep 2016
1 answer
165 views

The Issue: I'm loading a page, and the grid is loading in edit form. Editing In Place. Everything load correctly. The binding occurs, I can debug and see the rows in the grid. However, in the UI the rows are Blank. No data appears in the edit text boxes or even labels. If I remove the EditMode on load, everything appears correctly.

I'm binding the grid to a list in the NeedDataSourceEvent

I'm using the IteamCreated and PreRender to make all rows editable on load as directed here : http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/data-editing/put-all-items-in-edit-mode

 

What am I missing? Do I need to rebind the editform on the ItemDataBound event or something?

Kostadin
Telerik team
 answered on 17 Sep 2016
1 answer
137 views
How can I avoid the printing in every page ending of the grid footer when it is exported to PDF?, we need the footer in the last page only, thank you
Viktor Tachev
Telerik team
 answered on 17 Sep 2016
0 answers
79 views

Hello Team,

I have a client  requirement to add a scanning check on upload control like when we attach any document on gmail then gmail upload control start scanning before upload.

 

Thanks

Afroz Khan

Afroz khan
Top achievements
Rank 1
 asked on 16 Sep 2016
3 answers
93 views

Hi,

I have a RadGrid with a few columns:

<telerik:GridBoundColumn HeaderText="LOC" DataField="HomeLoc" UniqueName="HomeLoc" ReadOnly="True" SortExpression="HomeLoc" HeaderButtonType="TextButton" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="YTD HRS" DataField="TotHrs" UniqueName="TotHrs" ReadOnly="True" SortExpression="TotHrs" HeaderButtonType="TextButton" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" >
</telerik:GridBoundColumn>

When I export RadGrid to excel I need based on criteria highlight entire row in excel:

if TotHrs > 500

highlight entire row.

How it can be done.I try event ExportCellFormatting but it is not working.

protected void PSEmplGrid_ExportCellFormatting(object sender, ExportCellFormattingEventArgs e)
{
GridDataItem item = e.Cell.Parent as GridDataItem;
if (e.FormattedColumn.UniqueName == "TotHrs")
{
e.Cell.Style["background-color"] = "Red";
}
}

 

Thank you.

Maria Ilieva
Telerik team
 answered on 16 Sep 2016
6 answers
121 views

  <telerik:GridTemplateColumn UniqueName="ORACLE_VERIFIED" HeaderText="Oracle">
                        <ItemTemplate>
                            <telerik:RadButton RenderMode="Lightweight" Checked='<%#Bind("ORACLE_VERIFIED")%>' ID="btnToggleOracle" runat="server" ToggleType="CustomToggle" ButtonType="ToggleButton"
                                AutoPostBack="false">
                                <ToggleStates>
                                    <telerik:RadButtonToggleState Text="Not Verified" Value="0" PrimaryIconCssClass="rbToggleCheckbox" Width ="100px"/>
                                    <telerik:RadButtonToggleState Text="N/A" Value="-1" PrimaryIconCssClass="rbToggleCheckboxFilled" Width ="100px"/>
                                    <telerik:RadButtonToggleState Text="Verified" Value="1" PrimaryIconCssClass="rbToggleCheckboxChecked" Width ="100px"/>
                                </ToggleStates>
                            </telerik:RadButton>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>

 

i am trying to bind a three state toggle button and getting cast not valid. the values are 0,1,-1 if not available. this is oracle and the fields are defines as int in c# . anyone ran into this issue before? thanks

Maria Ilieva
Telerik team
 answered on 16 Sep 2016
5 answers
125 views

It is possible use Navigation - Server-side Templates together with asp:SqlDataSource?

I want to add telerik:RadSearchBox in my Navigation and use SqlDataSource....

Peter Milchev
Telerik team
 answered on 16 Sep 2016
15 answers
244 views
I have a custom http handler for a radasyncupload control, it uploads the file and creates thumbnails for each page.

I want to be able to update a progressbar, with the fact the file has uploaded and when creating the the thumbnails.

Can it be done?
Veselin Tsvetanov
Telerik team
 answered on 16 Sep 2016
4 answers
109 views

According to the most recent "what's new" announcement, it looks like the Theme Builder should include the Material skin. Is it not there yet while creating a new theme? Am I missing something?

 

http://www.telerik.com/support/whats-new/aspnet-ajax

"The Theme Builder just got more powerful! Now, you can create and customize themes based on the Material skin, which also offers the popular ripple effect."

Rumen
Telerik team
 answered on 16 Sep 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?