Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
102 views
I'm looking for a way to easily upload folders and multiple files. When I select a folder in addition to files, it only uploads the files and skips the folder and anything in the folder.  I'd like to keep the folder and sub-folder structure. 

Is there a way to handle this scenario?

Thanks Mario
Cori
Top achievements
Rank 2
 answered on 30 Nov 2010
3 answers
54 views
Has anyone had perfomance reducing resizing issues when using the radgrid in client-side mode only? 
Maria Ilieva
Telerik team
 answered on 30 Nov 2010
3 answers
143 views
Hi,

using Captcha for the first time. I added the control on the page, but in the samrt tag I can't see the "Enable RadCaptcha HttpHandler" Link and also not the "Skin" dropdown.

I am using ASP.NET 4, VB and Telerik Controls 2010 Q3.

Thanks

Regards

Thomas
Pero
Telerik team
 answered on 30 Nov 2010
4 answers
214 views
Hello All,

I having a grid in which we create control dynamically in their header which will perfectly loaded below below on

ItemDataBound

method.

Method CreateHeaderControls(e); is doesn't call while we click a record on click which will call below method,

Is there any possibility to call CreateHeaderControls(e); in method RaisePostBackEvent(IPostBackEventHandler source, string eventArgument)

or else any alternate..thnx please help?

 

 


 

protected

 

override void RaisePostBackEvent(IPostBackEventHandler source, string eventArgument)

 

{

 

try

 

 

 

 

{

 

base.RaisePostBackEvent(source, eventArgument);

 

 

if (source == this.grdADInbox && eventArgument.IndexOf("RowDblClicked") != -1)

 

{

 

RadGrid rg = (RadGrid)source;

 

 

int index = int.Parse(eventArgument.Split(':')[1]);

 

 

========================================================================

 

protected

 

void grdADInbox_ItemDataBound(object sender, GridItemEventArgs e)

 

{

CreateHeaderControls(e);

}



private

 

void CreateHeaderControls(GridItemEventArgs args)

 

{

 

Button btnGroupApprove = new Button();

 

 

Button btnGroupReject = new Button();

 

 

String tranType = String.Empty;

 

 

Int32 tranCount = 0;

 

 

try

 

{

 

 

if (args.Item is GridGroupHeaderItem)

 

{

 

GridGroupHeaderItem item = args.Item as GridGroupHeaderItem;

 

 

 

DataRowView groupDataRow = (DataRowView)args.Item.DataItem;

 

 

if (groupDataRow != null)

 

{

tranType =

((System.Data.

DataRowView) (((Telerik.Web.UI.GridGroupHeaderItem) item).DataItem)).Row.ItemArray

 

.GetValue(0).ToString();

tranCount =

 

Convert.ToInt32(((System.Data.DataRowView)(((Telerik.Web.UI.GridGroupHeaderItem)item).DataItem)).Row.ItemArray

 

.GetValue(1).ToString());

}

 

 

btnGroupApprove.ID =

"btnGroupApprove";

 

btnGroupApprove.Text =

"Approve All";

 

btnGroupReject.ID =

"btnGroupReject";

 

btnGroupReject.Text =

"Reject All";

 

 

Label lbl = new Label();

 

lbl.ID =

"lblGroup";

 

 

String strGroupingText = item.DataCell.Text;

 

 

if (strGroupingText != " ")

 

{

 

if (strGroupingText.Contains("("))

 

{

strGroupingText = strGroupingText.Remove(strGroupingText.IndexOf(

"("));

 

}

lbl.Text = strGroupingText.Insert(strGroupingText.IndexOf(

"Total"), "                                                       ");

 

lbl.Text +=

"               ";

 

item.DataCell.Controls.Add(lbl);

}

item.DataCell.Controls.Add(btnGroupApprove);

item.DataCell.Controls.Add(btnGroupReject);

}

 

string strApproveUrl = "ApproveAction.aspx?action=GroupApprove&&Tran_Type=" + tranType + "&&Tran_Count=" + tranCount;

 

 

string strRejectUrl = "ApproveAction.aspx?action=GroupReject&&Tran_Type=" + tranType + "&&Tran_Count=" + tranCount;

 

btnGroupApprove.Attributes.Add(

"onclick", "return ShowApprovalPopUp('" + strApproveUrl + "');");

 

btnGroupReject.Attributes.Add(

"onclick", "return ShowApprovalPopUp('" + strRejectUrl + "');");

 

}

 

catch (Exception ex)

 

{

 

throw ex;

 

}

}

ajmal
Top achievements
Rank 1
 answered on 30 Nov 2010
3 answers
314 views

Hello Sir,

 

I have radgird which is bound with sqldatasource..the griddropdown is bound with sqldatasource..
i want when i select the item of dropdown i want to enable or disable checkbox..which is also a bound column in grid.

how can i do this..please help me to solve this issue.

thanks

Princy
Top achievements
Rank 2
 answered on 30 Nov 2010
1 answer
54 views
Hi,

I have a radtreeview (dynamically populated) on the main page which also contains an iframe. On the click of node/context menu, I set the src of the iFrame to load the appropriate page. There are some redirects to other pages which also happen in the iframe. On click of a submit button which is on the iframe page, a new tree node is created in the database. I want to reload just the radtreeview on the parent page showing the newly created radtreenode , when the above submit button is clicked.
Any thoughts or ideas on this?

Also, is there any other telerik control that I can use in place of iframe?

Thanks
Nikolay Tsenkov
Telerik team
 answered on 30 Nov 2010
5 answers
463 views

Hi,

I'm currently using the usercontrl edit form and I would like to have this function in javascript
if the value of the rdbBillable= 1
then enable some of the textboxes
else
disable the text boxes

The problem is when I place the javascript inside the ascx page, the it complaints that there is no javascript (Microsoft JScript runtime error: Object expected), but then if I put in the aspx page, it also complaint for this line

 

radio = $find(

'<%= rdbBillable.ClientID %>');

 

 

Compiler Error Message: CS0103: The name 'rdbBillable' does not exist in the current context.

Thanks

Vinh Vu 

Princy
Top achievements
Rank 2
 answered on 30 Nov 2010
2 answers
69 views
Hi,
I am sorry if I am repeating an existing question, but can you tell me what is client side creation order of the objects that represent rad controls, especially those inside a RadGrid. I need to know if a RadGrid control that contains Rad controls inside its ItemTemplate will fire its RowCreated event after the creation of the clientside objects inside that particular row. Or is there an event I can hook up to, that will always get fired after the grid and the controls inside have been created on the client. Can you clarify also if this ordrer of creation is somehow altered after an AJAX request caused by RadAjaxManager. My goal is to have an event where I can walk through the grid control and get the controls inside each item and make some additional client-side configuration on them - therefore I need them all to be created and the .get_element() methods to point to a valid markup.
Any help on this topic is well appreciated.
Ivaylo
Top achievements
Rank 1
 answered on 30 Nov 2010
2 answers
205 views
Hi

I have a usercontrol inside a RadTabStrip. 5 Pageviews are contained in the tabStrip and the usercontrol embedded in the 3rd page. The usercontrol have a radscriptblock which have functions for ClientSelectedIndexChanged of a combo. AutoPostBack of RadTabStrip and RenderSelectedPageOnly of RadMultiPage set to true. When the 3rd page selected, a JS error occurs with the message 'ClientSelectedIndexChanged could not find'. How can I fix the issue?

thanks and regards

binoj
Binoj
Top achievements
Rank 1
 answered on 30 Nov 2010
3 answers
72 views
Hello Telerik
    I add a new tab to the tabstrip using client method, and set its NavigateUrl as http://www.google.com, but how to set the target of this link with client method? I don't want to open it in a new window, I want it was opened within a named frame.

thanks
Dimitar Terziev
Telerik team
 answered on 30 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?