Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
112 views
Hi,
I is there any option to export selected rows from radtreelist to pdf?
Princy
Top achievements
Rank 2
 answered on 09 Jan 2013
1 answer
152 views

I try to demonstrate for an article lazy load plugin (http://www.appelsiini.net/projects/lazyload) within telerik grid..
If I ajaxified the grid with RadButton the plugin doesnt work cause it will not find image tags at page source.
How can i work it with ajaxified button->grid and grid->grid also

Angel Petrov
Telerik team
 answered on 09 Jan 2013
1 answer
57 views
I am trying to cache RadMenu using GetXML() and LoadXML() but when i GetXML() is gets only first level 

<?xml version="1.0" encoding="utf-16"?>
<Menu EnableScreenBoundaryDetection="False" EnableOverlay="False" EnableRoundedCorners="True">
  <Group ExpandDirection="Down">
    <Item Value="1" ImageUrl="/Resources/Images/1.png" HoveredImageUrl="/Resources/Images/MasterPageImages/1_on.png" ExpandedImageUrl="/Resources/Images/MasterPageImages/1_on.png" BorderWidth="0px">
      <Group OffsetX="-98">
        <Item />
      </Group>
    </Item>
<Item Value="2" ImageUrl="/Resources/Images/2.png" HoveredImageUrl="/Resources/Images/MasterPageImages/2_on.png" ExpandedImageUrl="/Resources/Images/MasterPageImages/2_on.png" BorderWidth="0px">
      <Group OffsetX="-98">
        <Item /> // There is also RadMenuItem here i fill with InstantiateIn
      </Group>
    </Item>
</Menu>


public class SecondLevelMenuItemTemplate : ITemplate
        {
            public void InstantiateIn(Control container)
            {
var parentMenuItem = container as RadMenuItem;
// adding new RadMenuItem to parentMenuItem 
            }
        }
Kate
Telerik team
 answered on 09 Jan 2013
0 answers
99 views
I have a RadCombobox and for that i  have OnItemrequested,Markfirstmatch=true and i have a button if i click that button a popup will open and i will enter data and save from that popup and Entered data single item i am binding to RadCombobox.After that if i remove the element and call the OnItemrequested the same element which i bind after popup save is binding first and and renaming elements coming after that i.e 
ABC i have saved in popup it is coming like this, 
ABC
khkj..
htcdf..
gggg...
ABC
fsdfs..
gtyy..
fsdff..
ABC
htuty..


 
 
Sravan
Top achievements
Rank 1
 asked on 09 Jan 2013
10 answers
464 views
Hi,

We use Telerik Grid for VS2008 and need to create context menu attached to grid row programmatically. I mean when you right click any row the context menu should show up. The context menu should be multilevel and dynamically populated. Grid control is wrapped into our user control.

Ho can we do that?

Thank you in advance.

Goran
Goran
Top achievements
Rank 1
 answered on 09 Jan 2013
3 answers
316 views
Hi,

I want to disable/hide the New Appointment and New Recurring Appointment context menu items when the user right clicks on a TimeSlot which occurs in the past (i.e., date value is lesser than current system date time).

At first, I thought the obvious place to put such functionality would be to handle OnClientTimeSlotContextMenu event of the scheduler. So, I added an event handler and it is firing properly. But now, I am clueless as to what method to call to achieve this functionality.

Thanks in advance,
Raghu
Sac
Top achievements
Rank 1
 answered on 09 Jan 2013
0 answers
93 views
Hi,

I have a unit combobox in the UI & contains data like  'Select All',   '001',   '002',  'IT' ...etc   ( pic1 from attached files ) .

When combo box value is 'Select All' then I am looping every unit and adding user control to RadPanelbar ...
UserControl has a grid and binding data based on unit and other parameter.

ASPX.vb:

Here I am creating object for usercontrol and adding to RadPanelBar ..
Here CboUnit -Unit ComboBox ,     
 pnlDDSummaryDept - RadPanelBar ,
DueDateSummarybyDept.ascx   -  Usecontrol has RadGrid
 
If RadTabStrip1.SelectedIndex = 0 Then
       ElseIf RadTabStrip1.SelectedIndex = 1 Then
           If cboUnit.SelectedItem.Text.Contains("Select All") Then
               Dim i As Integer = 0
               pnlDDSummaryByDept.Items.Clear()
               Do While (i < cboUnit.Items.Count)
                   If Not cboUnit.Items(i).Text.Contains("Select All") Then
                       Dim dateItem As New RadPanelItem()
                       dateItem.Text = cboUnit.Items(i).Text
                       pnlDDSummaryByDept.Items.Add(dateItem)
  
                       Dim control As New RadPanelItem()
                       Dim Panel1 As New Panel()
                       Session("DDByDeptCode") = cboUnit.Items(i).Text
                       Dim DDUCSummaryByDept As Control = FindControl("uxDDSummaryByDept" + i.ToString())
                       If DDUCSummaryByDept Is Nothing Then
                           DDUCSummaryByDept = LoadControl("DueDateSummarybyDept.ascx")
                           DDUCSummaryByDept.ID = "uxDDSummaryByDept" + i.ToString()
                           Panel1.Controls.Add(DDUCSummaryByDept)
                           control.Controls.Add(Panel1)
                           dateItem.Items.Add(control)
                       End If
                   End If
                   i = i + 1
               Loop

DueDateSummarybyDept.ascx :
<telerik:RadGrid DataSourceID="SqlDataSource1" ID="RadGrid3" runat="server" GridLines="None"
                       PageSize="20" AutoGenerateColumns="false">
                       <PagerStyle Mode="NumericPages"></PagerStyle>
                       <MasterTableView AutoGenerateColumns="false" Width="100%">
                           <Columns>
 ...........
</telerik:RadGrid>
 
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:TaskManagementConnectionString2 %>"
                       SelectCommandType="StoredProcedure">
                       <SelectParameters>
                           <asp:SessionParameter SessionField="UserName" Name="User" Type="String" />
                           <asp:SessionParameter SessionField="DDByDeptCode" Name="DepCode" Type="String" />
                       </SelectParameters>
                   </asp:SqlDataSource>

DueDateSummarybyDept.ascx.vb :
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        SqlDataSource1.SelectCommand = "rpt_DeptTaskListingPerDays"       
End Sub

But after running the application , I have checked query by using sql profiler is taking same Unit =' SM' for each loop .this unit is last unit from combo box.   ( pic2 from attached files )

Actually I have data for Unit ='IT' but still showing empty result. ( pic3,pic4 from attached files)

How can I do set sql datasource and display exact result based on unit.

Please help me on this ..

Madhu Palakurthi
Top achievements
Rank 1
 asked on 09 Jan 2013
1 answer
496 views
how to set default selected(hightlighted) node in radtreeview on server side?

On my notes tree, first level is color, size, inside color has red, blue...
how to say if tree node name ="red", then select the red node as default (hight lighted)?

I tried below, but doesnt' work for me

 

 

RadTreeNode node = radTVActions.FindNodeByValue("Red");

 

 

 

if (node != null)

 

{

node.Selected =

 

true;

 

}



Thanks
Princy
Top achievements
Rank 2
 answered on 09 Jan 2013
0 answers
77 views
Hi I was wondering when I click "Add New Record" on a Radgrid, and then click Insert, it will not show anything, all it says "No records to display." What do I need?
Carina
Top achievements
Rank 1
 asked on 09 Jan 2013
1 answer
54 views
Hello,

So I have a button that sends automatic emails to a user. In that email, there is a link :
Dim link as string = "<a href=http://" & hostname........"
 this is included in the body:

Mail.Body= "CLick on the link below to open form ###" & link & vbCrLf"

and this does send the link, but opens up the form blank, although the id of the form is listed on the URL. What am I missing so it can load the form with the existing data?
Carina
Top achievements
Rank 1
 answered on 09 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?