Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
99 views
If I select multiple controls to create a new skin for, it seems odd that I have to go to each skin and select the colourize option and pick my base colour. Wouldn't it be more intuitive if the user were at least had the option of applying the colourization to all of the selected controls?

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 02 Aug 2010
2 answers
71 views
If you colourize the RadRating control and click "Save" you get telerik's 404 page instead of an image of the changed control.

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 02 Aug 2010
1 answer
74 views
Hi everyone
can anyone show me a step by step RadToolTip integration with RadScheduler sample ?
thanks
Shinu
Top achievements
Rank 2
 answered on 02 Aug 2010
1 answer
94 views
I have a RadUpload in FormTemplate of RadGrid.
I want to check file size on the client before upload by RadUpload.
I can't use Checking File Size on the Client (click Insert  -> run, Cancel  -> run, Delete -> run,...because this event of RadProgressArea)
Please help me how to check file size on the client by javascript with event OnClientClick() of button Insert and Update or fix that bug with better code.
Thanks a lots!!!
Regards,
Yana
Telerik team
 answered on 02 Aug 2010
2 answers
119 views

Has I still don't know how to add a expand icon on a treeview, I use the Onclick event to check if I need to load the children node of a treeview... 

 

 

if (parentId != 0) {

 parentNode = tree.findNodeByValue(parentId);

}

 

 
... Code to Add Nodes 

tree.commitChanges(); 

if (parentId != 0) {

 parentNode.set_expanded();

}

 

 
Result is great.... The node expands... But it collapses back !

Peter Ryckaert
Top achievements
Rank 1
 answered on 02 Aug 2010
1 answer
677 views
Hi,

I am using GridTableView inside a RadGrid (for Hierarchy display).
I declared the datasource in the RadGrid1_NeedDataSource event from code-behind and its working fine.

Now how do I set the dataSource of GridTableView from code-behind C#?
I am not able ro refer to the GridTableView from code-behind as it don't has a ID property.

Thanks
Ajay Sharma
Princy
Top achievements
Rank 2
 answered on 02 Aug 2010
4 answers
109 views
Hello,

I am new in using Telerik, and I have a basic question. I am using the AJAX component of telerik and I want to change the tooltip which appears when i pass the mouse over the appoinment.

I have seen this link but is for WPF
http://www.telerik.com/help/wpf/radscheduler-how-to-create-appointment-tooltip.html

First, I want to know what is the WPF, and if I can use it with in a normal asp NET project. 

Second, some ideas to change the tooltip?

Thanks you very much,

BR,

David.
David Lopez
Top achievements
Rank 1
 answered on 02 Aug 2010
5 answers
111 views
Hello everyone,

I need to organize a big amount of appoinments in my scheduler, and I want to know in a quick view to the scheduler which days has more appoinments. Is there someway which I can show (next to the day number e.g.) the number of appoinments for each day?

Thanks a lot.
David Lopez
Top achievements
Rank 1
 answered on 02 Aug 2010
4 answers
209 views
I need to have the horizontal submenu that has the same width as the 1st main level with the items in the submenu 

|  Level 1     Level 1a     Level 1b    Level 1c    Level 1d  |
|            Sublevel 1a1  Sublevel 1a2  Sublevel 1a3          | 

I've manged to get the initial menus to look and work fine. The problem I'm having is if you hover over the Level 1c and then Level 1b the submenu grows in width and height.  The attached images may help to explain better what is happening.


|  Level 1     Level 1a     Level 1b    Level 1c    Level 1d  |
|            Sublevel 1a1  Sublevel 1a2  Sublevel 1a3                     |  width and hieght excedes the boundries.

Here is my code - any help or insight anyone can give is appreciated.

 
<script type="text/javascript">
        function itemOpening(sender, args)
        {   
           var SecRow = args.get_item().get_element();
           SecRow.childNodes[1].style.left = - SecRow.offsetLeft + "px"
             
        }
  </script>
  
<telerik:RadMenu ID="RadMenu1" runat="server" Flow="Horizontal" width="900px" OnClientItemOpened="itemOpening"
    skin="BC2010BLACK" EnableEmbeddedSkins="false" style="float:left;">
    <expandanimation type="InOutQuad" duration="300" />
    <collapseanimation type="InOutQuad" duration="200" />
    <items>
          <telerik:RadMenuItem ID="RadMenuItem43" runat="server" NavigateUrl="~/default.aspx" Text="Home"/>
          <telerik:RadMenuItem runat="server" NavigateUrl="~/OurFirm.aspx" Text="Our Firm" GroupSettings-Flow="horizontal">
          <GroupSettings ExpandDirection="Auto" Flow="Horizontal" width="898"/>
               <Items>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/FirmCulture.aspx" Text="Firm Culture"/>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/Innovation.aspx" Text="Innovation"  />
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/Diversity.aspx" Text="Diversity"  />
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/HonorAndAwards.aspx"  Text="Honors and Awards"/>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/ClientFeatures.aspx"  Text="Client Features"/>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/CommunityInvolvement.aspx" Text="Community Involvement"/>
               </Items>
          </telerik:RadMenuItem>
          <telerik:RadMenuItem runat="server" NavigateUrl="~/OurServices.aspx" Text="Our Services" GroupSettings-Flow="horizontal"  >
          <GroupSettings ExpandDirection="Auto" Flow="Horizontal" width="898"/>
               <Items>
                    <telerik:RadMenuItem IsSeparator="true"  width="50" runat="server" text="" />
                    <telerik:RadMenuItem runat="server"  NavigateUrl="~/ourServices.aspx" Text="Practice Areas"  />
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/ADR.aspx" Text="Alternative Dispute Resolution" />
                    <telerik:RadMenuItem runat="server"  NavigateUrl="~/OurServices.aspx" Text="Industries Served"  />
               </Items>
          </telerik:RadMenuItem>
          <telerik:RadMenuItem runat="server"  NavigateUrl="~/OurAttorneys.aspx" Text="Our Attorneys"  GroupSettings-Flow="horizontal">
          <GroupSettings ExpandDirection="Auto" Flow="Horizontal" width="898"  />
               <Items>
                    <telerik:RadMenuItem IsSeparator="true"  width="60" runat="server" text="" />
                    <telerik:RadMenuItem  runat="server" NavigateUrl="~/attorneysbypractice.aspx" Text="by Practice" />
                    <telerik:RadMenuItem  runat="server" NavigateUrl="~/attorneysbyindustry.aspx" Text="by Industry" />
                    <telerik:RadMenuItem  runat="server" NavigateUrl="~/attorneyalphalist.aspx" Text="by Last Name"/>
                    <telerik:RadMenuItem  runat="server" NavigateUrl="~/attorneysbyoffice.aspx" Text="by Office"/>
                    <telerik:RadMenuItem  runat="server" NavigateUrl="~/OurAttorneys.aspx" Text="Search" />
               </Items>
          </telerik:RadMenuItem>
          <telerik:RadMenuItem runat="server"  NavigateUrl="~/OurOffices.aspx"  Text="Our Offices"  GroupSettings-Flow="horizontal">  
               <GroupSettings ExpandDirection="Auto" Flow="Horizontal" width="898"  />
               <Items>
                    <telerik:RadMenuItem IsSeparator="true"  width="20" runat="server" text="" />
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/office.aspx?ID=1" Text="Boca Raton"/>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/office.aspx?ID=8" Text="Destin"/>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/office.aspx?ID=2" Text="Fort Lauderdale"/>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/office.aspx?ID=3" Text="Miami"/>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/office.aspx?ID=4" Text ="Orlando"/>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/office.aspx?ID=5" Text="Tallahassee"/>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/office.aspx?ID=6" Text="Tampa"/>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/office.aspx?ID=7" Text="West Palm Beach" />
               </Items>
          </telerik:RadMenuItem>
          <telerik:RadMenuItem runat="server"  NavigateUrl="~/MediaCenter.aspx" Text ="Media Center"/>
            
          <telerik:RadMenuItem ID="RadMenuItem12" runat="server" NavigateUrl="~/EventsandPublications.aspx" Text ="Events and Publications" GroupSettings-Flow="horizontal"
                <GroupSettings ExpandDirection="Auto" Flow="Horizontal" width="898"  />
                <Items>
                 <telerik:RadMenuItem IsSeparator="true"  width="420" runat="server" text="" />
                    <telerik:RadMenuItem runat="server"  NavigateUrl="~/caseupdates.aspx" Text="Case Updates"  />
                    <telerik:RadMenuItem runat="server"  NavigateUrl="~/events.aspx" Text="Events"/>
                    <telerik:RadMenuItem runat="server"  NavigateUrl="~/pressreleases.aspx" Text="Press Releases"/>
                    <telerik:RadMenuItem runat="server"  NavigateUrl="~/publications.aspx" Text="Publications"/>
               </Items>
          </telerik:RadMenuItem>
          <telerik:RadMenuItem runat="server"  NavigateUrl="~/Careers.aspx" Text ="Careers">
               <GroupSettings ExpandDirection="Auto" Flow="Horizontal"  width="898"/>
               <Items>
                    <telerik:RadMenuItem IsSeparator="true"  width="600" runat="server" text="" />
                    <telerik:RadMenuItem  runat="server"  NavigateUrl="~/careersattorneys.aspx" Text ="Attorneys" />
                    <telerik:RadMenuItem runat="server"  NavigateUrl="~/careerslawstudents.aspx" Text="Law Students"    />
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/careersstaff.aspx" Text="Staff"/>
              </Items>
          </telerik:RadMenuItem>
  </items>
</telerik:RadMenu>
Kamen Bundev
Telerik team
 answered on 02 Aug 2010
4 answers
2.0K+ views
Hi,

I am using radgrid with rowcontextmenu. when i right click on a radgrid row and select edit option it will open a popup window. What i need is when i rightclick on a radgrid row, i just want to get the values of 3 columns for that particular selected row.  For example, when i right click on a selected radgrid row i want to get customer name, headend name, site name values of that selected row.

Here is my code....


<MasterTableView GridLines="None" DataKeyNames="orderId" CommandItemDisplay="Top">
                            <Columns>
                                <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" HeaderStyle-Width="3%"
                                    ItemStyle-Width="3%">
                                    <HeaderStyle Width="3%"></HeaderStyle>
                                    <ItemStyle Width="3%"></ItemStyle>
                                </telerik:GridClientSelectColumn>
                                <telerik:GridBoundColumn UniqueName="sId" HeaderText="sId" DataField="sId" ReadOnly="true"
                                    Visible="false">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn UniqueName="orderId" HeaderText="orderId" Visible="false"
                                    ReadOnly="true" DataField="orderId">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn UniqueName="Customer Name" HeaderText="Customer Name" DataField="Customer Name"
                                    ReadOnly="true">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn UniqueName="Market Name" HeaderText="Market Name" DataField="Market Name"
                                    ReadOnly="true">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn UniqueName="LOB" HeaderText="LOB" DataField="LOB" ReadOnly="true">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn UniqueName="Headend Name" HeaderText="Headend Name" DataField="Headend Name"
                                    ReadOnly="true">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn UniqueName="Project Name" HeaderText="Project Name" DataField="Project Name"
                                    ReadOnly="true">
                                </telerik:GridBoundColumn>
                                <telerik:GridTemplateColumn UniqueName="Site Name" HeaderText="Site Name" DataField="SiteName"
                                    ReadOnly="true">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lnkSiteName" runat="server" Text='<%# Eval( "Site Name" ) %>'
                                            ForeColor="Blue" CommandName="sitename"></asp:LinkButton>
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridBoundColumn UniqueName="Task Status" HeaderText="Task Status" DataField="Task Status"
                                    ReadOnly="true">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn UniqueName="Clarify Account Nbr" HeaderText="Clarify Account Nbr"
                                    DataField="Clarify Account Nbr">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn UniqueName="Site ID" HeaderText="Site ID" DataField="Site ID">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn UniqueName="Quote ID" HeaderText="Quote ID" DataField="Quote ID">
                                </telerik:GridBoundColumn>
                                <telerik:GridCheckBoxColumn UniqueName="EDP Created?" HeaderText="EDP Created?" DataField="EDP Created?">
                                </telerik:GridCheckBoxColumn>
                                <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" Display="false">
                                </telerik:GridEditCommandColumn>
                            </Columns>
                        </MasterTableView>


protected void RadMenu1_ItemClick(object sender, RadMenuEventArgs e)
    {
        int radGridClickedRowIndex;
 
        radGridClickedRowIndex = Convert.ToInt32(Request.Form["radGridClickedRowIndex"]);
 
        switch (e.Item.Text)
        {
            case "Edit Task":
                string OrdID = rg200.MasterTableView.DataKeyValues[radGridClickedRowIndex]["orderId"].ToString();
                lblOrdHeadName.Text = rg200.MasterTableView.NamingContainer.FindControl("Headend Name").ToString();
 
                Session["orderId"] = OrdID;
        }
    }


if you see the above code, I am able to get the orderId value for that selected column. But when I am trying to get Headend Name value I am getting error. How to get headend Name value for selected row.

Thanks In Advance
Princy
Top achievements
Rank 2
 answered on 02 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?