Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
456 views
Hi,

I have a simple button that I create at runtime.

Dim btn as New RadButton()
btn.AutoPostBack = False
btn.OnClientClicked = "BtnClicked"


function BtnClicked(sender, args)
{
       alert("Hey!");
}

When I click on the button, BtnClick is not fired. What is wrong my code?

Thanks.
Jocelyn
Top achievements
Rank 1
 answered on 03 Jul 2012
5 answers
119 views
I am upgrading 2008 Q3 version of telerik control to 2011 Q3 version in my project in .NET 4.0.  I have a RadAjaxManager used in the page that has a updated control as asp:panel. Multiple user controls are dynamically loaded in to the asp:panel. Initally all the instance of the user control displays the loading image before displaying the content. Before with 2008 version, it dislays all the user controls in top down order. but with the 2011 version it displays in bottom up which is really strange. I appreciate any suggestion on fixing this order issue. Thanks in advance!
Maria Ilieva
Telerik team
 answered on 03 Jul 2012
1 answer
206 views
Within my master page I have a RadSplitter layout. One of the Splitter panes contains the MasterPage contentholder and since the requirement called for only this area to update on the click of a navigation node item I placed an iframe within the contentholder (All content in iframe is located within the site itself). I was wondering however, if there is a way to utilize and show the RadAjaxLoadingPanel after the navigation node item has been clicked and hides when the page in the iframe is finished loading?
Eyup
Telerik team
 answered on 03 Jul 2012
6 answers
135 views
Hello,

I was wondering if there is a way to insert a new radgrid in c#. I basically want to have a grid template that i will use a bunch of times on a web page, but the amount of grids i will create depends on the data being passed. Is there a way I can achieve this?

Thanks,

Nick
Eyup
Telerik team
 answered on 03 Jul 2012
1 answer
77 views
Hi to all,
after upgrade to v.2012.2.607.35 the label of the control RADDatePicker is rendered duplicate.!!!
I post you my code page:
<telerik:RadDatePicker ID="RadDatePicker1" DateInput-Label="TESTO:" runat="server">
    <DateInput runat="server" />
</telerik:RadDatePicker>    

Thanks in advance
By Gaetano


Milena
Telerik team
 answered on 03 Jul 2012
1 answer
120 views
Hi,

Currently if we want to have a validator on the textbox on the rotator or repeater, based on this link:
http://www.telerik.com/help/aspnet-ajax/input-inputmanager-basics.html 

how if we have two validator in the repeater e.g one is email textbox and one is decimal textbox,

currently i bind the radInput Manager on the code behind , 
i do find control of the textbox and add those textboxes on the rad input manager,
TextBox txtOrderNumber = (TextBox)rptC.Items[j].FindControl("txtOrderNumber");
 
                RegExpTextBoxSetting RegExpBehavior1 = (RegExpTextBoxSetting)RadInputManager1.GetSettingByBehaviorID("RegExpBehavior1");
                RegExpBehavior1.TargetControls.Add(new TargetInput(txtOrderNumber.UniqueID, true));


but it is only success add for the first textbox, the other textbox doesn't have validation.
Vasil
Telerik team
 answered on 03 Jul 2012
3 answers
157 views
Hi All,
 I am developing product using asp.net using c sharp..i have two methods are called selectRoles and SelectRoleFeature and i have to bind those two methods in single RadGrid. Here display selectRoles are parent and SelectRoleFeatures are child in Grid through expand and collapse.which type of grid do this. How to implement this scenario..

Thanks in Advance..!
Jayesh Goyani
Top achievements
Rank 2
 answered on 03 Jul 2012
3 answers
137 views
Hi i have this validation


<asp:TextBox runat="server" ID="txbcantidad" CssClass="borde_txb" Width="45"></asp:TextBox>
<asp:RegularExpressionValidator
EnableClientScript="true"
SetFocusOnError="true"
ID="Regtxbcantidad"
Display="None"
ValidationGroup="valaccion_paso3_tab2"
runat="server"
ControlToValidate="txbcantidad"
ErrorMessage="Debe digitar números en el campo, sin caractéres especiales ni letras." ValidationExpression="^[0-9]*$">
</asp:RegularExpressionValidator>
<cc1:ValidatorCallOutExtender
CssClass="valtooltip"
PopupPosition="TopLeft"
WarningIconImageUrl="~/admin/img_alcalist/ico_alerta_val.gif"
CloseImageUrl="~/admin/img_alcalist/ico_cerrar_val.gif"
ID="Valtxbcantidad"
runat="server"
TargetControlID="Regtxbcantidad"
HighlightCssClass="campofallido" />

the textbox txbcantidad is in radgrid, this is the radbutton that activate the validation

 <telerik:RadButton ID="btnaccion2_paso3_tab2" runat="server" Skin="Office2010Blue" CssClass="txt11000" Text="Guardar Cambios" ValidationGroup="valaccion_paso3_tab2" CommandArgument="guardarref" OnCommand="realizaraccion"></telerik:RadButton>

my problem is that even if validation is enabled in the click event, the button causes postback and gets an error.

normal in this situation is that if the validation is enabled the button doesn't postback, how i fix this?

note that this controls are in a file ".ascx", which is called in a page ".aspx" that have one update panel. maybe this helps.

thanks.
Slav
Telerik team
 answered on 03 Jul 2012
6 answers
113 views
Hi,

I tried using the scheduler of the latest build version. Everything was fine, but now I'm caught in a strange behaviour of the reminder popup. First I suspected my own code, but then I tried the live demo and found the same problem.

http://demos.telerik.com/aspnet-ajax/scheduler/examples/reminders/defaultcs.aspx

The problem is not existent im my Firefox and latest Opera. It just appears when I'm using IE 8 or 9. I did not try IE7 or lower.

Problem (IE 8 or 9):
When the reminder poped up, I choosed to be notified again in (e.g.) 4 hours. After clicking 'snooze' the dialog vanished. Now I did something else that caused a postback, e.g. clicking on week view. After a few seconds the reminder poped up again. I tried it many times with different remind intervalls, but every time it was ignored and poped up after postbacks within seconds.

I checked the cookies and noticed that the cookie were stored, so no cookie blocking was active. Of course I also tried 'allow every cookie', but with no success.

As I didn't find anyone else facing the same problem, I suspect myself to miss something. Every hint would be very appreciated.

Kind regards
Oliver
Peter
Telerik team
 answered on 03 Jul 2012
0 answers
228 views
I am doing a task Master-Detail, for this I have taken two grids where I will initially bind a grid view at this point I would like to select the first row and display the corresponding details in the second grid view. Like that when I select the later I would like to bind the corresponding details.

Sample data in my database

Table1

EmpID  FedID
   1        1234
   2         6546

Table2 

EmpID  Name

   1        ABCD
   2         EFGH


Initially I would like to load the first record details in the second grid view and show .

Means on Initial page load I will show the Table1 data in gridview1 immediately I would like to show the second grid view as follows

EmpID    Name
  1           ABCD

I would like to achieve this from server side code

This is the one I would like to achieve http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx 
from server side code



Dorababu
Top achievements
Rank 1
 asked on 03 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?