Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
114 views

 

RadWindowManager2.RadConfirm("Server radconfirm: Are you sure?", null, 330, 180, null, "Server RadConfirm", null);it didn't work with "contentMenu"
protected void RadMenu1_ItemClick(object sender, RadMenuEventArgs e)
        {
            int radGridClickedRowIndex;
            radGridClickedRowIndex = Convert.ToInt32(Request.Form["radGridClickedRowIndex"]);
            switch (e.Item.Text)
            {
 
                 
                case "Delete":
                    RadWindowManager2.RadConfirm("Server radconfirm: Are you sure?", null, 330, 180, null, "Server RadConfirm", null);
                    SqlConnection con3 = AllClass.dbConnection();
                    string sd = "delete from tbPlan where PlanID=" + this.RadGrid2.MasterTableView.DataKeyValues[radGridClickedRowIndex]["PlanID"] + "";
                    AllClass.saveData(sd,con3);
                    show(this.RadDataPager1.CurrentPageIndex);
                    getcnt();
                    break;
 
            }
        }
Shinu
Top achievements
Rank 2
 answered on 03 Oct 2013
1 answer
87 views
Hi experts,

I have two simple questions:

1. I use treelist default update panel for updating/inserting, it works fine except that the panel didn't collapse after I click 'update' button, the data has been updated though, so I need to click 'cancel' button to hide the update panel after updating.

2. I wonder how to define the textbox width in update panel, I didn't see anything obvious setting.

My aspx code :
<telerik:RadTreeList ID="RadTreeList1" runat="server"
              OnUpdateCommand="RadTreeList1_UpdateCommand"
              OnInsertCommand="RadTreeList1_InsertCommand"
              OnDeleteCommand="RadTreeList1_DeleteCommand"
              DataSourceID="SqlDataSource1"
              AllowMultiItemSelection="True"
              ParentDataKeyNames="parentId"
              DataKeyNames="id" AutoGenerateColumns="False" Skin="Office2007"
              AllowRecursiveDelete="True"
              OnItemDrop="RadTreeList1_ItemDrop"
              >
 
               <Columns>
                    <telerik:TreeListDragDropColumn Visible="true" HeaderStyle-Width="20px" UniqueName="TreeListDragDropColumn"></telerik:TreeListDragDropColumn>
                     <telerik:TreeListTemplateColumn Visible="false" HeaderText="" UniqueName="ColumnUniqueName" DataField="Id">
                      <ItemTemplate>
                          <asp:Label ID="lblId" runat="server" Text='<%# Bind("Id") %>' Visible="false"></asp:Label>
                      </ItemTemplate>
                     </telerik:TreeListTemplateColumn>
 
                    <telerik:TreeListEditCommandColumn UniqueName="InsertCommandColumn" ButtonType="ImageButton" ShowEditButton="false" HeaderStyle-Width="30px" ItemStyle-HorizontalAlign="Center"></telerik:TreeListEditCommandColumn>
 
                    <telerik:TreeListButtonColumn CommandName="Edit" Text="Edit" UniqueName="EditCommandColumn" ButtonType="ImageButton" HeaderStyle-Width="30px" ItemStyle-HorizontalAlign="Center"></telerik:TreeListButtonColumn>
 
                    <telerik:TreeListButtonColumn UniqueName="DeleteCommandColumn" Text="Delete" CommandName="Delete" ButtonType="ImageButton" HeaderStyle-Width="30px"></telerik:TreeListButtonColumn>
 
                    <telerik:TreeListBoundColumn Visible="false" DataField="id" HeaderText="ID" ReadOnly="true" UniqueName="id" HeaderStyle-Width="60px" ForceExtractValue="Always"></telerik:TreeListBoundColumn>
 
                    <telerik:TreeListBoundColumn DataField="title" HeaderText="Title" UniqueName="title" HeaderStyle-Width="300px"></telerik:TreeListBoundColumn>
 
                    <telerik:TreeListBoundColumn DataField="link" HeaderText="Link" UniqueName="link" HeaderStyle-Width="300px"></telerik:TreeListBoundColumn>
 
                    <telerik:TreeListBoundColumn DataField="rank" HeaderText="Rank" UniqueName="rank" HeaderStyle-Width="60px"></telerik:TreeListBoundColumn>
 
                    <telerik:TreeListBoundColumn Visible="false" DataField="parentId" HeaderText="Parent ID" HeaderStyle-Width="80px" ReadOnly="true"></telerik:TreeListBoundColumn>
 
               </Columns>
               <ClientSettings AllowItemsDragDrop="true">
                              <Selecting AllowItemSelection="True"></Selecting>
                              <ClientEvents OnItemDropping="itemDropping" OnItemDragging="itemDragging"
                              OnTreeListCreated="function(sender) { treeList1 = sender; }">
                              </ClientEvents>
                         </ClientSettings>
          </telerik:RadTreeList>



Many thanks for your help!
Ray

Konstantin Dikov
Telerik team
 answered on 03 Oct 2013
5 answers
189 views
hi there...

I can't get the scheduler to group by two resources...

I can group by the "room" resourse wich is used in the online samples, but i can't get another resourse added.

the two different resources could be "buildings" and "rooms"... where rooms are placed in buildings... this meaning that all rooms placed in building A should be arranged (grouped) by that

a little help would be nice.....
Boyan Dimitrov
Telerik team
 answered on 03 Oct 2013
6 answers
258 views
hello,

to save space and minimize scrolling i would like to be able to position children of a node horizontally beside one another instead of vertically in a list.

is this possible?  if not, it would be useful to have an option on how display orientation of child nodes, horizontal or vertical.

in my case, i have a fixed # of child nodes with same length text in each.  this feature or work around would help me.  is there something i could change is css?

please let me know,

thanks,

avh
Magdalena
Telerik team
 answered on 03 Oct 2013
2 answers
159 views
I'm missing the details from the Localization section of the Combobox control in the DropDownTree Localization section
Morten
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 03 Oct 2013
2 answers
100 views
Hi,

I am using RadOrgChart to chow my Organization tree. When I come to last parent, I have lot of child's that are spread horizontally.
I want to show them vertically just for the Last child's of the tree. I know I can do grouping. But I want to do Grouping only at the end of the tree. i.e for only those nodes that are the last nodes of the tree. Is there a way to show Leaf Nodes virtically, or can I group only the Leaf nodes. I didn't find any of that sample code available.

Thanks in advance,
Basavatharakam
Top achievements
Rank 1
 answered on 03 Oct 2013
2 answers
129 views
Hello,
is there any way how to get official LESS files for skins? We would like to create our own skins based on existing one, but it is hard to maintain changes between versions. And of course, editing LESS files is better way then CSS direct edit.

And if there are no LESS sources, what about plans to migrate current css skins to LESS?

Thanks for any info.
René
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 03 Oct 2013
1 answer
99 views
Hi there,

I've been encountering the same issue as described in this thread and have been unable to resolve it with any of the suggested steps.

So to circumvent this I would like to turn the Labels visibility off (I can do this step) and just display the labels which are displayed when hovering over sections constantly instead, as they always appear in a reasonably place that is not clipped or pushed under my legend.

Is this possible?
Stamo Gochev
Telerik team
 answered on 03 Oct 2013
1 answer
49 views

 

Ianko
Telerik team
 answered on 03 Oct 2013
3 answers
195 views
Hi,

I am using combo box which allows me to select multiple items. And i put OnSelectionIndexedChanged event to load particular details based on selected value.But event is not firing when am selecting all values from RadComboBox. For example i have two values like "CA,AZ".If i select "CA" event is firing and loading particular to CA.If i select two values CA,AZ event is not firing.

Your help will be great appreciated.

Thanking u,
Vishnu
Vishnu Vardhan Reddy
Top achievements
Rank 2
 answered on 03 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?