Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
175 views
How can i get the database value ID

aspx:
<telerik:RadContextMenu ID="RadContextMenu1" runat="server" OnItemClick="RadMenu1_ItemClick">  
   <Items> 
       <telerik:RadMenuItem runat="server" Text="Pagina Toevoegen">  
       </telerik:RadMenuItem> 
       <telerik:RadMenuItem runat="server" Text="Pagina Wijzigen">  
       </telerik:RadMenuItem> 
       <telerik:RadMenuItem runat="server" Text="Pagina Verwijderen">  
       </telerik:RadMenuItem> 
   </Items> 
   <Targets> 
       <telerik:ContextMenuControlTarget ControlID="panelmenu1" /> 
   </Targets> 
</telerik:RadContextMenu>   
 
 
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">  
 
<telerik:RadPanelBar runat="server" ID="panelmenu1" Width="100%" PersistStateInCookie="True" OnPreRender="panelmenu1_PreRender" OnItemClick="RadPanelBar1_ItemClick" /> 
<asp:label Runat="server" ID="Label1" Text="Standard"></asp:label> 
</telerik:RadAjaxPanel> 

vb:
    Protected Sub RadMenu1_ItemClick(ByVal sender As Object, ByVal e As RadMenuEventArgs)  
 
        Select Case e.Item.Text  
            Case "Pagina Toevoegen" 
 
                ' NEED ID FROM SELECTED ITEM HERE  
 
                Exit Select 
        End Select 
    End Sub 
 

The idea is to get the right database ID and send that ID to the radwindow.

So i anyone has a code for it, it would be very helpfull
David Blok
Top achievements
Rank 1
 answered on 14 Dec 2009
2 answers
93 views
Hello Telerik - Team,

how can I set the size of textboxes weh I update a row in the EditMode="InPlace"

Now all textboxes have the same size.

thanks
Christian
Princy
Top achievements
Rank 2
 answered on 14 Dec 2009
2 answers
272 views

I have a RadGrid with a GridCheckBoxColumn.  When exporting to Excel the values for this column do not make it to the Excel file.  The column in the spreadsheet is there but no data.

 

Sphengle
Top achievements
Rank 1
 answered on 14 Dec 2009
1 answer
76 views
Hi Telerik Team

I'm using
Telerik Controls for Asp.net Ajax 2008 Q3
and just I Upgrade to
Telerik Controls for Asp.net Ajax 2009 Q3

I faced  many design Issues that I can not detect the causes for this

I attached  design issues samples for referencing
 
How can I overcome these issues ?

plz provide me with tips to overcome it??

Notes:
I'm using the following
  • Rad controls for asp.net ajax 2009 Q3
  • windows 7 as an operating system
  • IE8 as web browser
  • asp.net 3.5



Daniel
Telerik team
 answered on 14 Dec 2009
1 answer
159 views
I don't see any option for me to add client events on numerictextbox.
Am i missing something since I dont see the option in the intellisense?
Shinu
Top achievements
Rank 2
 answered on 14 Dec 2009
3 answers
158 views
Hi,
I have a RAD menu in the master page, and then when a rad window loads up within the web form it appears behind the menu. I am wondering if there is any way of stopping this from happening.

Thanks

Simon
Simon Allport
Top achievements
Rank 2
 answered on 14 Dec 2009
5 answers
143 views
Hello,

Im trying to find any docs regarding client "eventArgs" for many events that I need.
I can find some docs for other controls (at least minimal) but for grid none. Without script debugging I cant find what properties/methods are available for most of the client side events in the grid.

Did I miss them or cannot find ? Or maybe they are missing ?
Iana Tsolova
Telerik team
 answered on 14 Dec 2009
1 answer
101 views
Hi Telerik Team !

I have been using RAD CONTROLS (Rad Controls for ASP.NET AJAX Q2 2009 35) for a quite some while in my project & using RADFILE EXPLORER as one of the major controls from my project standpoint. I have no/less issues with this untill I upgraded it to the new version.

I have updated all the previous RAD CONTROLS with the latest release version name RAD CONTROLS (Rad Controls for ASP.NET AJAX Q3 2009 35) . I have deleted all the REFERENCES of the previous controls & added all the new REFERENCES for the the newer version.
I compiled my whole project two-three times & found an ERROR.

Below is the ERROR :-

1. The type or namespace name 'RadFileExplorerGridEventArgs' could not be found (are you missing a using directive or an assembly reference ?)

2. Validation (Asp.Net): Attribute 'OnGridPopulated' is not a valid attribute of element 'RadFileExplorer'

Earlier(When I was using Q2 2009 version) there were no such issues that came up just like now. I was able to find the GRIDPOPULATED event for RadFileExplorer.

In fact I have added the code within my .CS file & it just works fine in case of Q2 2009 version.

Below is the code :--
 protected void DocumentsRadFileExplorer_GridPopulated(object sender, RadFileExplorerGridEventArgs e)  
    {  
        //implement sorting for the custom Date column  
        string CreatedDateColumn = e.SortColumnName;  
        string ModifiedDatesortingColumn = e.SortColumnName;  
        if (CreatedDateColumn == "CreatedDate")  
        {  
            e.List.Sort(DateComparerforCreatedDate);  
            if (e.SortDirection.IndexOf("DESC") != -1)  
            {  
                //reverse order  
                e.List.Reverse();  
            }  
        }  
        if (ModifiedDatesortingColumn == "ModifiedDate")  
        {  
            e.List.Sort(DateComparerforModifiedDate);  
            if (e.SortDirection.IndexOf("DESC") != -1)  
            {  
                //reverse order  
                e.List.Reverse();  
            }  
        }  
 
    } 
The above placed code was working fine for Q2 2009 version.

Since I have updated my controls with Q3 2009 version, Im not able to sort out where is the exact problem ?

Iam not able to get the valid 'RadFileExplorerGridEventArgs' eventArgs.

It would be great if you guys please look into this matter ASAP so that I may proceed with my project work.

Thanks & Regards,

TarikaDev

Sachin Agrawal
Top achievements
Rank 1
 answered on 14 Dec 2009
4 answers
166 views
hi

im using radwindow on my project but i encountered a problem while using the client side event
here is my problem:

actually i wanted to do some test before my radwindow pops up, but it doesnt work..
even my test made is true, the radwindow still popping up.

how could i exit the function when my if instruction is true?

here is my code of the function:
         function OpenWin1(StoredP) 
            { 
                var parentPage = GetRadWindow().BrowserWindow; 
                var parentRadWindowManager = parentPage.GetRadWindowManager(); 
                var paramControl = document.getElementById("<%= txtPROGRESSIVOCAMPO.ClientID %>"); 
                                 
                    if (paramControl.value != null){ 
                        var param = "ZoomSTD.aspx?rwd=rwdUTECampi&SPZoom="+StoredP+"&PF="+paramControl.value; 
                    } 
                    else 
                    { 
                        var param = "ZoomSTD.aspx?rwd=rwdUTECampi&PF=&SPZoom="+StoredP; 
                    } 
     
                document.getElementById('btnHidden').click(); 
                 
                //faccio un controllo se la creazione della sessione non si Ã¨ verificata un'errore 
                if (document.getElementById("ErrMsg").value != "") return false; 
                // se c'è un'errore non apro il pop up e esco dalla funzione 
                                                 
                var oWnd2 = parentRadWindowManager.open(param, "rwdCodiceProgCampo"); 
                   
                window.setTimeout(function() 
                { 
                    oWnd2.setActive(true); 
                },0);                                               
            } 

i need help ASAP

thanks

regards
webster
Georgi Tunev
Telerik team
 answered on 14 Dec 2009
1 answer
98 views
Hi All,

I am using RadComboBox with TreeView as mention below:
OnNodeClick="rtvAttendeeType_NodeClick" event update other controls available in page and OnClientNodeClicking="nodeClicking" to close the combobox, but fire only client side event not fire server side event. what's wrong with this code please reply me.

function nodeClicking(sender, args) {
            //alert("nodeClicked");
            var comboBox = $find("<%= rcbAttendeeType.ClientID %>");
            comboBox.attachDropDown();
            var node = args.get_node()

            comboBox.set_text(node.get_text());

            comboBox.trackChanges();
            comboBox.get_items().getItem(0).set_value(node.get_text());
            comboBox.commitChanges();

            comboBox.hideDropDown();
        }



<telerik:RadComboBox ID="rcbAttendeeType" runat="server" EmptyMessage="Select Attendee Type" AutoPostBack="true"
                ShowToggleImage="True" Style="vertical-align: middle;" OnClientDropDownOpened="OnClientDropDownOpenedHandler"
                HighlightTemplatedItems="false" OnClientDropDownClosed="onDropDownClosing" Width="250px"
                TabIndex="28">
                <ItemTemplate>
                    <div id="div1" onclick="StopPropagation(event);">
                        <telerik:RadTreeView runat="server" ID="rtvAttendeeType" EnableEmbeddedSkins="false"
                            Height="100%" OnNodeClick="rtvAttendeeType_NodeClick" OnClientNodeClicking="nodeClicking">
                            <DataBindings>
                                <telerik:RadTreeNodeBinding Expanded="True" />
                            </DataBindings>
                        </telerik:RadTreeView>
                    </div>
                </ItemTemplate>
                <Items>
                    <telerik:RadComboBoxItem Text="" />
                </Items>
</telerik:RadComboBox>



Thanks & Regards,
Amit



Yana
Telerik team
 answered on 14 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?