Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
152 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
152 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
137 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
98 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
163 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
91 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
1 answer
110 views
Hi,

I've a gridclient slect column in my radgrid. when the datasource is null, I bind the grid , bind the datasource to the dattable.
The radgrid displays no records to display which is fine. But the Gridclientselect column in the header (with other columns) is by default checked. I wANT THE HEADER GRIDECLIENTSELCT COLUMN TO BE UNCHECKED WHENTHERE ARE NO ROWS? HOW DO i DO THIS?
Princy
Top achievements
Rank 2
 answered on 14 Dec 2009
1 answer
112 views
Hello Telerik-team,

I have a Question to EditMode="InPlace" and Update-Funktion.

We want to use the EditMode="InPlace" und update the Database via an objectDataSource but it doesn't work:

ASPX
                                                <telerik:RadGrid DataSourceID="odsZahlungsmoeglichkeiten" ID="RadGrid1" runat="server" > 
                                                    <MasterTableView DataKeyNames="ZahlungsID" EditMode="InPlace" > 
                                                        <Columns> 
                                                            <telerik:GridEditCommandColumn EditText="bearbeiten"  /> 
                                                        </Columns> 
                                                       </MasterTableView> 
                                                    <ClientSettings> 
                                                        <ClientEvents OnRowDblClick="RowDblClick" /> 
                                                    </ClientSettings> 
                                                </telerik:RadGrid> 
    <asp:ObjectDataSource ID="odsZahlungsmoeglichkeiten" runat="server" SelectMethod="GetZahlungsmoeglichkeiten" 
        TypeName="BSP.Adapter.AdpKunde"   
        OldValuesParameterFormatString="original_{0}"   
        DataObjectTypeName="System.Collections.Generic.List`1[[BSP.Adapter.DtoKundeZahlungsmoeglichkeit, BSP.Adapter, Version=1.0.0.3, Culture=neutral, PublicKeyToken=null]]"   
        UpdateMethod="UpdateZahlungsmoeglichkeiten">  
        <SelectParameters> 
            <asp:SessionParameter DefaultValue="" Name="kundeID" SessionField="KundeID"   
                Type="Int32" /> 
        </SelectParameters> 
    </asp:ObjectDataSource> 

When we call the Update Linkbutton after editing the fields, the method UpdateZahlungsmoeglichkeiten won't be called.

Where is the error?

regards

Christian

Christian
Top achievements
Rank 1
 answered on 14 Dec 2009
4 answers
114 views
Hi,

I found a strange issue using the new rating control :

Using http://demos.telerik.com/aspnet-ajax/rating/examples/clientsidefunctionality/defaultcs.aspx

Step 1: Set the txtValue TextBox to 5 -> Ok you have 5 stars clientside
Step 2: Now, without refreshing the page, set it to 0 -> Ok you have 0 stars clientside
Step 3: Still without refreshing the page, set it again to 5 -> Not ok, you still have 0 stars.

Moreover, if after step 2 on server side you try to save the rating control value (in a database for example) using radrating1.value, it will record 5 and not 0.

(setting the txtValue to 0.0 does not solve the issue)

Regards,
Arnaud Boiselle





arnaud
Top achievements
Rank 1
 answered on 14 Dec 2009
1 answer
195 views
Hi:

1) I need to upload 1 file.
2) Once the file is uploaded, I need to create a link for download this file  (jpg, doc, pdf)
3) How must I create this link? I dont want to use the FileExplorer, I just need to have a link to 1 file.
4) Does it exist an special download.ashx for downloading the files throw the link?


Can you share a sample?
Erjan Gavalji
Telerik team
 answered on 14 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?