Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
148 views
Hi all,

I am using the RadGrid filter option. I would like to know how the filtering options gets highlighted when I just move my mouse over. Now I dont see any highligter showing up when the mouse is placed over the filter options.

One more thing, I have enabled the add new record facility in the Grid. and I see that there is a Refresh automatically visible on the grid.
I dont think it is offering much funtionaliy so I dont wnat to show refresh on the Grid. how to get rid of it.

How to handle the gridlines for empty string or non breaking space.
nbsp solved most of the grid lines problem but still i can see some difference when compared to the other grid lines.

All my questions are generic and I dont think I might need to post any code.

Thanks for all your help in advance,
Princy
Top achievements
Rank 2
 answered on 30 Sep 2008
1 answer
97 views
How would i make the treeview that instead of clicking the '+' I would click the node that i want to expand....

 http://maximlrg.com/uomo/tree.aspx


if i click the word 'mens', the tree would open... if i click 'Lady'... that tree would open...

i want to remove the '+'

any help would be appreciated,

thanks

Jeff

Shinu
Top achievements
Rank 2
 answered on 30 Sep 2008
1 answer
305 views
Dear telerik team

i'm using the RadDateTimePicker control
i need to make the format of the date dd/MM/yyyy when it is selected from the calendar so i need it to appears in the DateInput text box in format
"dd/MM/yyyy"

Thanks
Shinu
Top achievements
Rank 2
 answered on 30 Sep 2008
1 answer
110 views
Hi..
When using the built in editing.. how do I modify the layout of the text boxes.
I want to make a text box multi line and wider.
thanks
Shinu
Top achievements
Rank 2
 answered on 30 Sep 2008
1 answer
135 views
Hi,
I am using <ClientEvents OnCommand="RaiseCommand" ... />.

When user clicks on Update/Insert command on RadGrid, I need to validate the user entered values of each column of that row. All my controls on the grid or GridComboBoxes. Could you please provide any sample code how to access the column values of the current inserted/updated row on CLIEN SIDE using Java Script.  I found the below code, but not able to retrive column values using Java Script on Client.

Appreciate if you could get back to me ASAP.

<ClientEvents OnCommand="RaiseCommand" ... />

JavaScript

function RaiseCommand(sender, args)
{
    //retrieve the current commandName and commandArgument
    var result = String.format("CommandName: {0}, CommandArgument: {1}", args.get_commandName(), args.get_commandArgument());

    if (<some_custom_condition_not_met>)
    {
        args.set_cancel(true); //cancel the command
    }
}

Many Thanks,
John

Shinu
Top achievements
Rank 2
 answered on 30 Sep 2008
1 answer
108 views
hi,

I am a newbie and I got this error when I double click my RadGrid.

Line: 12522
Error: 'this._tableView._owner._clientKeyValues' is null or not an object.

Thank you for any suggestions.
Shinu
Top achievements
Rank 2
 answered on 30 Sep 2008
1 answer
88 views
Hi, I am having telerik RadGrid where I have to display records in Grid with Paging options.
Now with Paging options, I am using "<PagerStyle Mode="NextPrevAndNumeric" />" at present. But in addition to this, I need links for "First Page" and "Last Page" as well with this options. Can someone pls tell me How can I add these two links as I didnot see any existing schema which have "First Page" and "Last Page" links. I also want this existing one and in addition to this I need "First Page" and "Last Page" link.
So can someone pls give me C# code to add this?

Thanks in advance,
Nirav
Shinu
Top achievements
Rank 2
 answered on 30 Sep 2008
3 answers
106 views
I have placed a grid on a page and set the allowfilteringbycolumn to true.  Yet each time I click the icon, I do not get the filter criterion list, nor does it filter.  I have read every article in the knowledge base that I felt was pertinent to no avail.  Any suggestions?

<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">

<AjaxSettings>

<telerik:AjaxSetting AjaxControlID="RadGrid1">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="RadGrid1" />

</UpdatedControls>

</telerik:AjaxSetting>

</AjaxSettings>

</telerik:RadAjaxManagerProxy>

<telerik:RadGrid ID="RadGrid1" runat="server" Skin="Office2007" CssClass="RadGrid"

AllowFilteringByColumn="true" AllowSorting="True" Width="100%" AutoGenerateColumns="False"

AllowPaging="true" PageSize="10" OnNeedDataSource="RadGrid1_NeedDataSource">

<PagerStyle Mode="NextPrevAndNumeric" />

<MasterTableView AllowFilteringByColumn="true" AutoGenerateColumns="false">

<Columns>

<telerik:GridTemplateColumn AllowFiltering="false">

<ItemTemplate>

<asp:Image runat="server" Width="60px" ImageUrl='<%#Convert.ToString(DataBinder.Eval(Container, "DataItem.Thumbnail"))%>'

Height="50px"></asp:Image>

</ItemTemplate>

</telerik:GridTemplateColumn>

<telerik:GridBoundColumn DataField="StockNumber" SortExpression="StockNumber"

UniqueName="StockNumber" HeaderText="Stock#">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="VIN" UniqueName="VIN" SortExpression="VIN"

HeaderText="VIN">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Year" UniqueName="Year" SortExpression="Year"

HeaderText="Year">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Make" UniqueName="Make" HeaderText="Make" SortExpression="Make" FilterListOptions="AllowAllFilters" CurrentFilterFunction="contains">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Model" UniqueName="Model" HeaderText="Model" SortExpression="Model">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Trim" UniqueName="Trim" HeaderText="Trim" SortExpression="Trim">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="ExteriorColor" UniqueName="ExteriorColor" HeaderText="Color" SortExpression="ExteriorColor">

</telerik:GridBoundColumn>

<telerik:GridTemplateColumn HeaderText="New/Used" ItemStyle-HorizontalAlign="center" DataField="IsUsed" UniqueName="IsUsed" SortExpression="IsUsed">

<ItemTemplate>

<asp:Label runat="server" Text='<%# IsUsed(Convert.ToString(DataBinder.Eval(Container, "DataItem.IsUsed"))) %>'>

</asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

<telerik:GridBoundColumn ColumnEditorID="Miles" DataField="Miles" UniqueName="Miles" HeaderText="Miles" SortExpression="Miles">

</telerik:GridBoundColumn>

<telerik:GridTemplateColumn HeaderText="Price" ItemStyle-HorizontalAlign="right" DataField="DisplayPrice" UniqueName="DisplayPrice" SortExpression="DisplayPrice">

<ItemTemplate>

<asp:Label runat="server" Text='<%# FormatMoney(Convert.ToString(DataBinder.Eval(Container, "DataItem.DisplayPrice"))) %>'>

</asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

</Columns>

</MasterTableView>

</telerik:RadGrid>

Shinu
Top achievements
Rank 2
 answered on 30 Sep 2008
1 answer
287 views
Hi I am using the below code to     examine whether Grid is edit mode or not.
but I am getting the error (JS Error)      grid.MasterTableView.Rows.length

Am I doing it right.

Thanks in advance  for the help.


   function DetectMode() {
                var flag = false;
                // Get the radGrid Reference
                var grid = $find("<%= CompanyGrid.ClientID %>");

                for (var i = 0; i < grid.MasterTableView.Rows.length; i++) {
                   // Check if the currenr row is in edit mode or not?               
                    if (grid.MasterTableView.Rows[i].ItemType == "EditFormItem") {
                        var flag = true;
                        alert("grid is in edit mode");
                        // Cancel the Event so that command edit mode is maintained
                        break;
                    }
                }
                if (!flag) {
                    alert("grid is in regular mode");
                }
               
            }
Shinu
Top achievements
Rank 2
 answered on 30 Sep 2008
2 answers
125 views

  I made changes to the font on a radgrid which show up in Visual Studio Design mode but these changes do not appear when running in debug.  How can this be corrected?

  Also, is there any way that I can view a Detail table of the radgrid in Design view in Visual Studio?  I can view the Master table in Design mode but not the Detail table.

Thanks
Darren
Top achievements
Rank 1
 answered on 30 Sep 2008
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?