Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
161 views
hey guys, i have a plain jane radFilter: how can i get the default when i choose this to display something other than, "Equal To" - .jpg is attached.
thanks
rik

<

 

 

telerik:RadFilter ID="RadFilter1" runat="server">

 

 

 

<FieldEditors>

 

 

 

<telerik:RadFilterTextFieldEditor FieldName="WORKORDERNUMBER" DisplayName="Work Order#" DataType="System.String" />

 

 

 

<telerik:RadFilterTextFieldEditor FieldName="TRACKINGNUMBER" DisplayName="Tracking#" DataType="System.String" />

 

 

 

</FieldEditors>

 

 

 

</telerik:RadFilter>

 

Mira
Telerik team
 answered on 11 Aug 2011
6 answers
398 views
Hi,

I have a rad grid with paging enabled. I would like to select multiple records using check boxes.  The code is posted below. It doesn't work when items selected from more than one page. Any help would be appreciated.




  protected void ButtonApprove_Click(object sender, EventArgs e)
        {
            var UniqueIds = new List<string>();
            foreach (GridDataItem item in RadGrid1.MasterTableView.Items) // Loop through each items
            {
                CheckBox chkBox = (CheckBox)item.FindControl("CheckBoxStatus"); // Get the checkbox control
                if (chkBox.Checked)
                {
                    var UniqueId = item["UniqueId"].Text;
                    UniqueIds.Add(UniqueId);                
                }
                
            }
                foreach (var ss in UniqueIds)
                {
                    var thisExpenseDetails = _repository.GetExpenseDetailsByUniqueID(ss);
                    thisExpenseDetails.Status = ExpensesClaimResource.StatusApproved;
                    _repository.SaveEntities();
                }

                 RadGrid1.Rebind();
        }

Thanks,
Anita
Anita
Top achievements
Rank 1
 answered on 11 Aug 2011
2 answers
269 views
Hi all,

I am a new one on RadWindow.
Could we remove the OK button from RadAlert?

Thanks.

Andy.
Andy
Top achievements
Rank 1
 answered on 11 Aug 2011
3 answers
106 views
Hi,

we are using rad grid in one of our project. I have a small issue. In the rad grid  I have three columns with check boxes. I use jquery to select and deselect all check boxes in Rad Grid. This works fine. My problem is with paging. I am using default paging behaviour of RadGrid. The problem is that on the new page the checkbox in the page which fires click event to select and deselect checkboxes in Grid is still checked. As the paging is done with client side code in RadGrid , I need a way to set default value to check box on the page again. For example, on the first page user clicks on select all check box and all checkboxes in grid are selected. Now the user goes to next page the checkboxes in Grid are not selected which is desired behaviour but the check box on the page is still selected. And now if user wishes to select all check boxes in Grid he must click on the checkbox on the page twice to get the desired behaviour. Is there a client side event for paging so that I can add some jquery code there to set the checkbox value on the page back to default value.



Regards,

Bhupinder
Bhupinder Singh
Top achievements
Rank 1
 answered on 11 Aug 2011
6 answers
713 views
Hello,

I use RadComboBox like search enter box and would like to execute server side event when user click "enter" key inside RadComboBox. Could anyone post code how to do that?

Thank you very much.
Regards,
Tomas
Gabriel
Top achievements
Rank 2
 answered on 11 Aug 2011
2 answers
104 views
Any way to get this feature back?  Or an alternative way to hide the "end" graphics of the RadMenu?
Sam
Top achievements
Rank 1
 answered on 11 Aug 2011
1 answer
60 views
Hi,

I have a GridMaskedColumn in my RadGrid and in the edit mode, the Masked Textbox is supposed to take US phone number as input. I have added the following mask (###)###-#### to the GridMaskedColumn. But the problem is that its accepting space also. I want to display client side error/warning when the user does not enter all the 10 digits of the phone number and press on 'Update Button' so that the DB values are consistent. Is there any mask or any other way I can implement this client validation ?

Thanks,
Nishanth
Tsvetina
Telerik team
 answered on 11 Aug 2011
1 answer
83 views
I'm trying to update the value of the control that is outside the dynamically created RadGrid. I'm using the reference - http://www.telerik.com/help/aspnet/grid/grduseajaxtoupdateoutsidecontrols.html.
I need to update the text of the Label control(lies out of the grid) when the textbox's (in the grid) text is changed.

The JS within the literal control is created but is never called. I'm using the RadAjaxManager to update the grid and the Label. 

Can someone please see what the problem is and offer a solution
 protected override void OnLoad(EventArgs e)<br>    {<br>        RadGrid grid = (RadGrid)pc1.FindControl("dgSample");<br>        RadAjaxManager1.AjaxSettings.AddAjaxSetting(grid, grid);<br>        RadAjaxManager1.AjaxSettings.AddAjaxSetting(grid, Label2);<br>        base.OnLoad(e);<br>    }

 protected void cTextbox_TextChanged(object sender, EventArgs e)<br>    {<br>        LiteralControl ctrl1 = new LiteralControl<br>                       (String.Format("<script type='text/javascript'>document.getElementById('{0}').innerHTML = '{1}';</script>", this.FindControl("Label2").ClientID, "Teexx"));<br><br><br>        //You should add the LiteralControl to the Controls collection of RadGrid in order to make it work with Telerik RadGrid AJAX<br>        this.Controls.Add(ctrl1);<br>        return;<br>    }
Mira
Telerik team
 answered on 11 Aug 2011
1 answer
81 views

Scenario:

I am developing an application using Telerik RadControls for ASPX.NET AJAX. I have tree

different Rad controls in the main page. A RadTreeview, a RadTabStrip and a RadGrid.

The basic functionality is: I select a node from the Treeview, that builds dynamic questions sourced from a database) in the RadTabStrip. And the answer to those questions is given by

selection an option in the single column RadGrid.

My questions are:

1. How can I set a default selection in the RadGrid?

2. When a node is selected the RadTabStrip is rebuilt but the page always blinks. How can I

avoid that blinking from the whole page running some server side code like the example here: http://demos.telerik.com/aspnet-classic/treeview/Examples/Programming/ServerSideApi/DefaultCS.aspx?

3. After a node selection and rebuilding the tabstrip pages, the RadTreeView loses the selected node focus. How can I keep the focus on the previously selected node? (it has something to do with that blink, can it be from the PostBack of the page?)

4. How can I load the grid having for each row a value and a text (value is an id related to the text element)?

Thank you all.

Regards

Bruno

Plamen
Telerik team
 answered on 11 Aug 2011
2 answers
118 views
I am using the Telerik AJAX loading panel in my project. It is casuing an issue in animation in IE 8 (non-compatibility mode) only on Win 2008 server. I even tried the telerik Demo site as below and still the same issue. You can reproduce the issue of not showing the animation (the images are shown with out animation) by accessing the below url.

http://demos.telerik.com/aspnet-ajax/ajax/examples/loadingpanel/loadingimages/defaultcs.aspx

Please let me know if there is any plug-in or something that is missing to show this animation on Win 2008 server in IE 8.

I appreciate your help. Thanks!
Maria Ilieva
Telerik team
 answered on 11 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?