Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
136 views
I have 3 radtextboxes on a page. I want to enable spell check without using the check button. After the user enter text in first textbox and move to next one, i want to automaticaly spell check the first one and like that for the other two. Please help.

Freddy
Shinu
Top achievements
Rank 2
 answered on 01 Oct 2013
11 answers
879 views
i have a radgrid but i cant get the textbox texto on update, so i will put the code that i'm using , what am i missing here.

protected void RadGrid1_UpdateCommand(object sender, GridCommandEventArgs e)
   {
 
        checkbox
 
       string values = string.Empty;
 
       if (e.Item is GridEditableItem && e.Item.IsInEditMode)
       {
           GridEditFormItem data = e.Item as GridEditFormItem;
 
          // GridEditableItem data = (GridEditableItem)e.Item as GridEditableItem;
 
          // CheckBoxList checkedItems = (CheckBoxList)data.FindControl("CBLRole");//Accessing the CheckBoxList
           //CheckBoxList checkedItems = data["CBLRole"].Controls[0] as CheckBoxList;
           //for (int i = 0; i < checkedItems.Items.Count; i++)
           //{
 
           //    if (checkedItems.Items[i].Selected)
           //    {
           //        values = values + "," + checkedItems.Items[i].Text.ToString();//Storing the selected values
           //    }
 
           //}
         //  string selectedvalue = values.Trim(',');//To trim off the last ','          
 
           TextBox txt = data.FindControl("txt_email") as TextBox;


i have tried several ways as you can see in comente data line but i always get null. i have the radgrid inside a contenplace holder if that makes any change
Princy
Top achievements
Rank 2
 answered on 01 Oct 2013
1 answer
127 views
I have a tab strip inside of an Ajax Update panel. When I first display the tab strip, the url has querystring parameters (exampleL: EmployeeInformation.aspx?PlantCode=12&DivisionCode=1.

When I click another tab, is there a way to automatically get those querystring parameters passed to the new naviagate url or do I need to remove the NavigateURL parameter and do my navigation in the TabClick event?
Nencho
Telerik team
 answered on 01 Oct 2013
2 answers
99 views
Hello,

Now I am using Telerik RAD Editor of version  2010.3.1215.20 in Visual Studio 2005. I want to upgrade it in Latest version.so i want to know that latest version of Telerik RAD Editor will works on Visual Studio 2005 or not? Please give me answer.


Thank You!


Mohmadraza
Top achievements
Rank 1
 answered on 01 Oct 2013
5 answers
108 views
I have a field in the table that is 'Licensed In State'. A person can be licensed in more than one state. How in the RadFilter do I search for those people that hold licenses in both TX and AZ? Simply ANDing them won't work.
Angel Petrov
Telerik team
 answered on 01 Oct 2013
3 answers
100 views
I'm using solution similar to Demo:  Grid - User Control Edit Form, where RadGrid located in DNN desktopmodule, and Edit form is a separate User Control form. Edit form contains asp controls and 3 telerik controls: RadEditor and two Date pickers. All ASP controls working OK all the time. Status of telerik controls is diffrent. Approximately 50/50 telerik controls are not working properly when Edit form displayed; regardles Edit or Insert mode. Outcome is following: RadEditor is read-only (you can't type), all buttons (including Calendar and RadEditor buttons don't do anything, but jumping to the top of the page). Clicking on any button that create postback, reloads form with unpredictable state: telerik controls may or may not work. There is no pattern, except: when I reducing amount of code related to telerik controls binding, more edit form loadings coming with with working telerik controls, but I never getting 100% success.
I compared dynamically created HTML code for both states: with working and not working telerik controls, but can't see atual difference.
I appreciate any help/suggestions.
Thanks,
Boris  
Maria Ilieva
Telerik team
 answered on 01 Oct 2013
1 answer
63 views
Team,
    I have a requirement like this. Please provide solution for following scenario.
    I am constructing a grid dynamically by adding template columns with check boxes. this grid has GroupByExpressions. Please find the following code snippet for how we are construction radgrid.
<telerik:RadGrid ID="RadGrid1" AutoGenerateColumns="false" runat="server" CellSpacing="0"
           GridLines="None" Width="100%" PagerStyle-AlwaysVisible="true" >
           <%-- AllowSorting="True" PagerStyle-PageSizeControlType="RadDropDownList" AllowPaging="True"--%>
           <ClientSettings>
               <Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling>
           </ClientSettings>
           <MasterTableView AutoGenerateColumns="False" TableLayout="fixed" DataKeyNames="ReportId"
               GroupsDefaultExpanded="True" GroupLoadMode="Client" CommandItemDisplay="None">
               <GroupByExpressions>
                   <telerik:GridGroupByExpression>
                       <SelectFields>
                           <telerik:GridGroupByField FieldName="DomainName" FieldAlias="Domain" FormatString=""
                               HeaderText=" " HeaderValueSeparator=""></telerik:GridGroupByField>
                       </SelectFields>
                       <GroupByFields>
                           <telerik:GridGroupByField SortOrder="Descending" FieldName="DomainName" FormatString=""
                               HeaderText=""></telerik:GridGroupByField>
                       </GroupByFields>
                   </telerik:GridGroupByExpression>
                   <telerik:GridGroupByExpression>
                       <SelectFields>
                           <telerik:GridGroupByField FieldName="SubjectAreaName" FieldAlias="SubjectArea" FormatString=""
                               HeaderText=" " HeaderValueSeparator=""></telerik:GridGroupByField>
                       </SelectFields>
                       <GroupByFields>
                           <telerik:GridGroupByField SortOrder="Descending" FieldName="SubjectAreaName" FormatString=""
                               HeaderText=""></telerik:GridGroupByField>
                       </GroupByFields>
                   </telerik:GridGroupByExpression>
                   <telerik:GridGroupByExpression>
                       <SelectFields>
                           <telerik:GridGroupByField FieldName="GroupName" FieldAlias="Group" FormatString=""
                               HeaderText=" " HeaderValueSeparator=""></telerik:GridGroupByField>
                       </SelectFields>
                       <GroupByFields>
                           <telerik:GridGroupByField SortOrder="Descending" FieldName="GroupName" FormatString=""
                               HeaderText=""></telerik:GridGroupByField>
                       </GroupByFields>
                   </telerik:GridGroupByExpression>
               </GroupByExpressions>
               <Columns>
               </Columns>
           </MasterTableView>
       </telerik:RadGrid>

I am adding code snippet :-

private void AddGridTemplateColumnsToSmartReportGrid(ref DataTable dt)
    {
        entities obj = new entities();
 
        var SRActions = (from col in obj.SecurityParameters select new { SRPermissionId = col.SecurityParameterID, SRPermissionName = col.SecurityParameterName }).ToList();
 
        List<string> cols = (from col in SRActions
                   select col.SRPermissionName).ToList<string>();
 
        dtSRActions = SRActions.GetDataTable();
        Session["dtSRActions"] = dtSRActions;
 
        for (int i = 0; i < cols.Count; i++)
        {
            GridTemplateColumn tempcol = new GridTemplateColumn();
            tempcol.ItemTemplate = new MyCheckbox(i);
            tempcol.ItemStyle.HorizontalAlign = HorizontalAlign.Center;
            tempcol.HeaderStyle.HorizontalAlign = HorizontalAlign.Center;
            tempcol.ItemStyle.Width = Unit.Pixel(60);
            tempcol.HeaderStyle.Width = Unit.Pixel(60);
            tempcol.HeaderText = cols[i];
            RadGrid1.MasterTableView.Columns.Add(tempcol);
            dt.Columns.Add(cols[i],typeof(string));
        }
         
    }
My requirement is, How to add check box in group header for each column. Please find attached screen shot for my requirement.
Konstantin Dikov
Telerik team
 answered on 01 Oct 2013
1 answer
61 views
If the lightbox window could have a additional button / event eg

1) Let us say the light box is used to display images of the sale item like shirt and the there a button can be configured add to cart. On click of the button there could be sever side event and the event would have either the name of current image or a unique id for the image visible and programmer could add the item to the cart


2) Simillar functionality could be useful in 'ADD TO FAVOURITES' from the images of freinds / school mates etc

3) Simillar functionality could be used for 'REVIEW LATER'


The configurable button may have property of icon  image / title

The configurable button may have client side 'ALERT MESSAGE' eg 'Item has been selected'

Regards



Sanjay Gupta
Daniel
Telerik team
 answered on 01 Oct 2013
1 answer
74 views
Hello,

I'm tyring with no luck to determine if there is a way to abandon a request that has already been sent to the server.  I am using a menu to load user controls with data, occasionaly one of those user controls may run a query that takes 15+ seconds, if the user clicks on another menu item (rad treeview node) a second ajax request is "queued", and executes after the first one finishes 15 seconds later.

I would like the second menu click to abort the first request and start processing.

is this possible?

thanks,
Maria Ilieva
Telerik team
 answered on 01 Oct 2013
1 answer
175 views
Hello,

I would like to know if it is possible to cancel an item being created in the grid's header context menu.

Here is my temp solution (that works) : 

grid.HeaderContextMenu.ItemCreated += (o, e) =>
{
    if (some_condition)
    {
        e.Item.Owner.Items.Remove(e.Item);
    }
};

I am looking for a better way to do this. I would love to be able to cancel the item from being created at all, rather than letting it create and then removing it.

Thank you
Maria Ilieva
Telerik team
 answered on 01 Oct 2013
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?