Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
246 views
Hi,
    I have problem in mastertableview and detailtableview.When we click on the mastertable row checkbox means i want the actual output should be check all the checkbox displaying in the detail table view for that particular master row.
I have used this javascript which i mentioned below but its not working properly.

 

 

function MarkCheckBox(cntrl, CmdtType) {

 

 

 

var rgBarcodeGen = document.getElementById('<%=rgBarcodeGen.ClientID %>');

 

 

 

var gvRow = rgBarcodeGen.getElementsByTagName('tr');

 

 

 

for (var i = 1; i < gvRow.length; i++) {

 

 

 

var gvCntrl = gvRow[i].getElementsByTagName('input');

 

 

 

for (var j = 0; j < gvCntrl.length; j++) {

 

 

 

if (gvCntrl[j].type == "checkbox") {

 

 

 

if (CmdtType == 'master') {

 

gvCntrl[j].checked = cntrl.checked;

 

 

break;

 

}

 

 

else if (CmdtType == 'detail') {

 

gvCntrl[i = j].checked = cntrl.checked;

 

 

break;

 

}

}

}

}

}

 

Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Sep 2012
1 answer
46 views
I want to show A pane contains a RadGrid  above scheduler when i right click in Scheduler Appointments ...i think the default behavior for that is to show context menu i want to show A pane contains RadGrid Instead of Context menu.
Princy
Top achievements
Rank 2
 answered on 04 Sep 2012
3 answers
130 views
When I edit a record with a RadCombox control in RadGrid, the height of dropdown item is so height(in attached image). Normaill, if the RadCombox bound two record, it should only show the height of two record. Don't know why it sill have so many blank space?

My Code is:
 protected void RadGridFunction_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
        {
            if (e.Item is GridEditableItem)
            {
                GridEditableItem editedItem = e.Item as GridEditableItem;
                if ((e.Item as GridEditableItem).IsInEditMode)
                {
                    GridEditManager editMan = editedItem.EditManager;

                    GridDropDownListColumnEditor editor = editMan.GetColumnEditor("RuleType") as GridDropDownListColumnEditor;
                    RadComboBox ddl = (RadComboBox)editedItem["RuleType"].Controls[0];
                    ddl.Width = Unit.Pixel(100);


                    ddl.Items.Add(new RadComboBoxItem("dd1"));
                    ddl.Items.Add(new RadComboBoxItem("dd2"));                 
                }
            }           
        }

 <telerik:GridDropDownColumn DataField="RuleType" UniqueName="RuleType"
                                    HeaderText="Rule Type" ItemStyle-Width="100px">
                                    <FilterTemplate>
                                        <telerik:RadComboBox runat="server" Width="100px" ID="RadComboBoxRuleType" AutoPostBack="true">                                                                                   
                                        </telerik:RadComboBox>
                                    </FilterTemplate>
                                </telerik:GridDropDownColumn>
Shinu
Top achievements
Rank 2
 answered on 04 Sep 2012
1 answer
155 views

In my telerik radgrid i have 2 checkbox columns named "Approved" and "Denied". How do i 'check' multiple checkboxes in each column by draging over the checkboxes? Please note I DO NOT want to select multiple entire rows but just multiple checkboxes in these respective columns by just dragging. Here is the aspx:

 <telerik:GridTemplateColumn UniqueName="checkBoxYesColumn">
                           
<HeaderStyle HorizontalAlign="Center"   />
                           
<HeaderTemplate>
                                 
<asp:CheckBox  ID="cbYesHead2" runat="server" />
                               
<cc1:MutuallyExclusiveCheckBoxExtender ID="mecbeYesHead" runat="server" TargetControlID="cbYesHead2"  />
                           
</HeaderTemplate>
                             
<ItemStyle ... HorizontalAlign="Center"   />
                           
<ItemTemplate>
                                 
<asp:CheckBox ID="cbYes2" runat="server"  />
                                   
<cc1:MutuallyExclusiveCheckBoxExtender ID="mecbe1" runat="server" TargetControlID="cbYes2"  />
                             
</ItemTemplate>
                       
</telerik:GridTemplateColumn>                          
                       
<telerik:GridTemplateColumn HeaderText="" UniqueName="ignoreCheckBoxYesColumn">
                             
<HeaderStyle HorizontalAlign="Center"  />

                             
<ItemStyle  HorizontalAlign="Center"   />
                             
<ItemTemplate>    
                                 
<asp:CheckBox  ID="cbNo2" runat="server"  />
                                   
<cc1:MutuallyExclusiveCheckBoxExtender ID="mecbe2" runat="server" TargetControlID="cbNo2" />
                             
</ItemTemplate>
                       
</telerik:GridTemplateColumn>  

Here is the code behind in C#:

CheckBox cb = (CheckBox)headerItem.FindControl("cbYesHead2");

                cb
.Attributes.Add(...);
               
AjaxControlToolkit.MutuallyExclusiveCheckBoxExtender mecbeYes = (AjaxControlToolkit.MutuallyExclusiveCheckBoxExtender)headerItem.FindControl("mecbeYesHead2");
                mecbeYes
.Key = "head_" +...

cb
= (CheckBox)headerItem.FindControl("cbNo2");
                cb
.Attributes.Add(...);
               
AjaxControlToolkit.MutuallyExclusiveCheckBoxExtender mecbeNo = (AjaxControlToolkit.MutuallyExclusiveCheckBoxExtender)headerItem.FindControl("mecbe2");
                mecbeNo
.Key = "head_" + ...
Tsvetina
Telerik team
 answered on 04 Sep 2012
3 answers
238 views
Hi,

    In my RadGrid, I show DropDownList objects (during Edit mode only) and I wish to populate one based on the selected value of another.

    I created a GridTemplateColumn for this, which during the Edit mode, the DropDownList objects are to be shown. The initial values of these dropdown objects are populated on the ItemCreated event of the grid, and I am just checking that if the grid is in edit mode, I will just populate the dropdown with initial values. The values are fixed and known and they are not a lot so there's no impact doing it on this event.  
  
   On the grid, I show at least two dropdown objects, and I just wish that if the user selects a value from the first dropdown, it will initiate repopulating values on the second dropdown based on the selected choice on the first.

    Can someone please help me on this?  If I am not clear stating my problem here, I'd be glad to clarify it for you.....I really really appreciate your help on this matter.

Regards,
Arthur
Shinu
Top achievements
Rank 2
 answered on 04 Sep 2012
1 answer
36 views
Hi,

My ELMAH is not Loging an errors which are occuring due to Telerik Ajax...But it is capturing the errors in .cs files and even .aspx page errors

can you plase assist on this?
Maria Ilieva
Telerik team
 answered on 03 Sep 2012
1 answer
72 views
I click on the Choose Skin button and get nothing but a strange "Default" with odd people's names or something as the example display.  Any help?

For the record, I have this same issue elsewhere in the project...
See attached
Pavlina
Telerik team
 answered on 03 Sep 2012
5 answers
72 views
Hello Telerik Team,

I need your help. I want to upgrade my telerik radcontrols for ASP.NET ajax  from version "2011 Q1" to "2012 Q2".  can you guys help me with the following:

NOTE: we are using purchased version.

1) Please can you provide us the link from where we can get the proper updation procedure. About what thik we need to care before upgrading the version of radcontrols. (Note we have updated the telerik version at one of the system at our end, and we were facing so may issue with the controls such as Radinput textbox size is resized and tabstrips having the spaces and etc). From where we can get the proper guide to update the version?

In short : I'd like to refer the document  which can explain what's involved in doing the upgrade and propose how we should proceed :)

2)  From where i will be getting the release notes and documentation since 2011 Q2 to understand any fundamental changes that have been made by telerik team.

3) We are using TFS , so shall we directly update the version from TFS menu --> Radcontrols for ASP.NET Ajax --> upgrade wizard or we should proceed with replacing dll or some other way? Please recommend us the best way.

Any other suggestion will be highly appriciated.

I will be highly gratified , if your team can help me to move forward with the upgradation in the proper way.

Have a great day!!!!

Thanks
Petar
Telerik team
 answered on 03 Sep 2012
3 answers
185 views
I need some guidance on how to accomplish the following.
1. Need to bind datepicker to datatable or list
2. Then only highlight and enable the dates in that datatable or list, all other dates to be disabled

Thanks
Tsvetina
Telerik team
 answered on 03 Sep 2012
1 answer
159 views
Hi,

I created a RadGrid control which shows up list of items from SharePoint List. Now how to get that selected row or just a single column of that selected row from that RadGrid view in to a label or string.

Thanks!
Pavlina
Telerik team
 answered on 03 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?