Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
149 views
Hi,

I have an usercontrol as an editformcontrol in a radgrid.  It has some comboboxes, textboxes etc.  Now I have problem to find the controls to set and get values.  When I debug, somehow I saw the ClientID as below which the clt05/clt09 changes for different rows.

RadPanelBar1_i1_grdRevenue_ctl00_ctl05_EditFormControl_drp_chg_cd
RadPanelBar1_i1_grdRevenue_ctl00_ctl09_EditFormControl_drp_chg_cd

How can I find the controls in javascript using code like $find('<%= drp_chg_cd.ClientID %>')

Thanks,

Richard
Top achievements
Rank 1
 answered on 13 Feb 2012
2 answers
156 views
I have a RadRotator with 2 different LinkButtons inside the template.  Each LinkButton has a command argument that is pulled from the database.  What is the easiest way to determine which LinkButton was clicked in the Rotator_ItemClick event?  The problem that I am having is that I can't determine which LinkButton was clicked so that I can execute specific server side code.  

<telerik:RadRotator ID="RadRotator1" runat="server"
    DataSourceID="dsProducts" RotatorType="CoverFlowButtons" Skin="Forest" Width="625px"
    Height="350px" ItemHeight="350px" ItemWidth="551px" PauseOnMouseOver="true"
        BorderStyle="None">
    <ItemTemplate>
        <asp:LinkButton ID="lnkAddTestimonial" runat="server" CommandName="AddTestimonial"
        CommandArgument='<%# Eval("ProductID") %>'>Add Review</asp:LinkButton>
        <asp:LinkButton ID="lnkViewTestimonials" runat="server" CommandName="ViewTestimonials"
        CommandArgument='<%# Eval("ProductID") %>'>Read Reviews</asp:LinkButton>
    </ItemTemplate>
</telerik:RadRotator>
Ronnie
Top achievements
Rank 1
 answered on 13 Feb 2012
1 answer
149 views
I have two RadDatePickers. Users enter unformatted date values manually, yet initially when they leave the date picker the dates remain unformatted. After retuning to the RadDatePicker and reentering the sam unformatted date and tabbing out of the control, the dates are auto-formatted. This is a result of posting back that does not initially occur, even with AutoPostBack enabled.

Thanks,

SteveO

 

<telerik:RadDatePicker ID="fDate"

 

 

runat="server"

 

 

AutoPostBack="true"

 

 

Width="150px"

 

 

MinDate="1960/1/2"

 

 

TabIndex="5" />

 

 

<DateInput ID="DateInput2"

 

 

runat="server"

 

 

DateFormat="MM/dd/yyyy">

 

 

</DateInput>

 

 

</telerik:RadDatePicker>

 

Richard
Top achievements
Rank 1
 answered on 13 Feb 2012
2 answers
76 views
I have only 1 RadWindowManager on a page and the window manager has 2 rad windows with different Navigateurl values.(Both are different .aspx pages) Among them, 1 works fine but any event is not firing on the other window. I am trying to use OnClientClose event and its not calling the function. I tried using different events for that window but still it is not firing for any event.

FYI:
I already have DestroyOnClose=true for both windows and manager.

HELP....
Naupad
Top achievements
Rank 1
 answered on 13 Feb 2012
0 answers
61 views
Hi Everyone,

I m using RadTagControl There i m using certain expressions to hide certain numeric value (like 0.001,.001,89,8). there is one property of tagcloud  MaxNumberOfItems=" " if im specifying 50 its working f9 bt if i m specifying 100 its not working properly.
expression i m using:
   output = Regex.Replace(output, "(?<=^|\\s)\\d+(?:\\.\\d+)?(\\s+|$)?%?", " ", RegexOptions.None);
its hiding decimal values but certain times its not hiding
Shubham
Top achievements
Rank 1
 asked on 13 Feb 2012
1 answer
61 views
Hi:
I have a char with 3 series, S1,S2 & S3, when the chart renders, the series are shown    

[S1:Val1][S2:Val1][S3:Val1]   ..  [S1:Val N][S2:Val N] [S3:ValN]  

Is there any chance  to show  the series together?  i mean:

[S1:Val1]..[S2:Val N]     [S2:Val1]..[S2:Val N]    [S3:Val1]..[S3:Val N] 

 Thank you so much for your help
Evgenia
Telerik team
 answered on 13 Feb 2012
2 answers
125 views
Hi Guys,

I have a radupload control in my page. I would like to remove all the to hide add/delete buttons that appears within the control (and the remove button as well). 
I tried ControlObjectsVisibility value to "None" but my requirement is to allow 5 radupload and dynamically change the available "select" buttons (MaxFilesInputsCounts= 5- uploadedcount) from code-behind.

Any thoughts ?


Vakul
Top achievements
Rank 1
 answered on 13 Feb 2012
1 answer
99 views
Hi,
How to use Rad Scheduler as a TimeLine view in Multi Months?

For ex:
Is there any way we can display  6 or 9 months (1 or 2 years) Schedules in Scheduler 
 as a TimeLine View?

Plamen
Telerik team
 answered on 13 Feb 2012
1 answer
55 views
Hi ,
Whenerver i bind Sheduler with more then  15 appointment in Once column/Row  then my sheduler display gets very slow and i am not able to use vertical/Horizontal scroll baar also.
Can any one help me ASAP.
Plamen
Telerik team
 answered on 13 Feb 2012
7 answers
222 views
I want to see radwindow close button ID but alert is return "null". How can i get close button ID Thanks.

My codes here:


 
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
            return oWindow;
        }



$(document).ready(function() {

            var Wnd = GetRadWindow();
            alert(Wnd) ; // it is return me "RadWindow id=RDW"
            alert(Wnd.Id); // it is return me "undefined"
            var CloseButton = document.getElementById("CloseButton" +Wnd.Id);

            alert(CloseButton); // it is return me "null"
            CloseButton.onclick = function() {

            }


        });
Svetlina Anati
Telerik team
 answered on 13 Feb 2012
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?