Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
hi,
I have Placed my application in C:\Inetpub\wwwroot\. I want to upload a file using document manager  to a folder (Attachments) in the application.I am not allowed to upload the file due to permission problem.
this works only if the appliaction path is given. I want the folder to work when it is Placed inside C:\Inetpub\wwwroot\.

It throws a following error.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. 

Please provide a solution to Access permission for all kinds of OS such as Windows2003,XP, Vista. 

Thanks
Veda  
Rumen
Telerik team
 answered on 08 Dec 2008
1 answer
163 views
Hi there,
Hoping someone can help me out with a problem I am having.
I have an aspx page which contains a placeholder which I use to display usercontrols.
My aspx contains a RadAjaxPanel and my placeholder is inside the panel. I have set the panels 

 

ClientEvents-OnRequestStart="conditionalPostback" and I have added some js

 

 

function conditionalPostback(sender, e) {

 

 

 

var uploadButton = new RegExp("\.btnInsertStolenItem$", "ig");

 

 

// var upload = $find(window['radUploadImages']);

 

 

 

 

 

//var upload = $find('<%=radUploadImages.ClientID %>');

 

 

 

 

 

if (e.get_eventTarget().match(uploadButton)) {

 

 

// if (upload.getFileInputs()[0].value != "") {

 

 

 

 

e.set_enableAjax(

false);

 

 

// }

 

 

 

 

}

 

}

My problem is with my var upload. My aspx cant find radUploadImages (which I understand as it hasn't been loaded yet :)) however I dont know what to change to only set the var if the usercontrol has been loaded....

Hope this makes sense as I am really stuck.

If anyone could provide help I would be most grateful.

Daniel
Telerik team
 answered on 08 Dec 2008
4 answers
582 views
Hi,

I am in process of coding a three level hierarchy grid with client side hierarchy mode.I need to get data from DB on button click for some filter criteria and bind results to grid.

I wish to call the NeedDataSource and DetailsTableDataBind [this is called after needdatasource event is fired] event on button click to avoid error in JS method when hierarchy mode is CLIENT which says index out of bound.

 

 

 

function

 

ExpandFirstDetailTableFirstItem()

 

{

$find(

"<%= RadGrid1.Items[0].ChildItem.NestedTableViews[0].ClientID %>").expandItem(0);

 

}

 

 

function CollapseFirstDetailTableFirstItem()

 

{

$find(

"<%= RadGrid1.Items[0].ChildItem.NestedTableViews[0].ClientID %>").collapseItem(0);

 

}

 

 

 



I am looking following example on button click and and not on page load so tha NeedDatasource event is called after button click event is fired.

regards,

Parimal

 

 

 

 

 

 

 

Sebastian
Telerik team
 answered on 08 Dec 2008
1 answer
86 views
I get the following error when I try to run spell check in any browser except IE:

Could not find target HTML element. Please verify that ControlToCheck/ControlsToCheck points to valid HTML controls.

I am using the "ControlsToCheck" property of the RadSpell control and passing in the ClientID of all the textboxes to check (therefore I am setting "IsClientID" to true). I check the values that are in the ControlsToCheck array, and they do appear in the HTML source.

Any ideas?
Lini
Telerik team
 answered on 08 Dec 2008
1 answer
144 views
Hello,
i'm working with style yet (RadSkinManager and Radformdecorator) and i have two questions:

1- I have a multiview associated with a tabstrip and i would like the background color of the selected view was the same that the selected tab. How can i do that?
now , i do like this....but it's not good enough :-)
//

document
.getElementById("RadMultiPage1").getAttribute("style").background=document.getElementById("RadFormDecorator1").currentStyle.scrollbarTrackColor;  

//

2- how can i have all the color palette associated with a style selected with 
i use this for have some but, i'm sure there is another way (perhaps named color ?)

       document.getElementById(

"Form1").currentStyle.[color property....]

Thank's a lot for your help

 

 

 

 

 

 

Peter
Telerik team
 answered on 08 Dec 2008
3 answers
139 views

Hi

In the previous version of RadEditor it was possible to use a config file. Like this: ConfigFile="~/RadControls/Editor/ConfigFile.xml" 

I can’t get this to work with the Q2 version. Is it still possible to use a config file or use web.config to set max upload file size, valid suffix and upload paths etc?

Rumen
Telerik team
 answered on 08 Dec 2008
1 answer
158 views
Hi All!

I have the following problem:
I wrote a Generic class called Demo. It has three properties (get, set) and has LoadAll and Update functions from/into database.

List<Demo> demo = IDemoFactory.LoadAll(); //gives all the items from a table.

In RadGrid NeedDataSource event:
radGridDemo.DataSource = demo;

and now what I need to know how can I do:
I change the properties of the selected (edited) object and run Update Command -> radGridDemo_UpdateCommand(object source, GridCommandEventArgs e) fired. and I need my edited Custom Demo object somehow in the following way.
Demo demo = e.Item.DataItem as Demo;
IDemoFactory.Update(demo);

Is it possible to do on the way mentioned above or I need to set the edited properties on a Demo type object and than i need to give it to my Update function?
I have 40 properties and hard to do...
I have the same question about InsertCommand.

I hope U understand my question.
thanks,
g.
Rosen
Telerik team
 answered on 08 Dec 2008
1 answer
54 views
We use MOSS 2007 and moved our content to a new server and installed Rad Editor on it. The editor is working on new Rad Editor web parts but not in lists - either new ones or in the old wikis that we have on the site. It seems that the default MOSS editor is being used. I have activated the web part as the default editor for list items but it doesn't seem to be working (even though it was working on the old server).

Does anyone know why this would be happening?

Thanks,
Sam
Stanimir
Telerik team
 answered on 08 Dec 2008
1 answer
86 views
I have a datepicker on a page that is in a radajaxpanel. The page is a content page with a RadAjaxManagerProxy and the ajaxmanager is on the master page.

When I select a date from the datepicker it makes my page jump to the top. I thought it was autopostback, but as you can see from the markup I have two pickers with autopostpack set and not set and it still does it for both.

I have tried adding an ajaxsetting on the datepicker control to update both the panel and the datepicker. Nothing seems to work.

Any help on this?

<div> 
 <telerik:RadDatePicker ID="dateHoldDate" Runat="server" AutoPostBack="false" MinDate="01/01/1900" Width="100" Skin="Office2007" CssClass="Calendar" Calendar-TitleStyle-CssClass="CalendarTitle" Calendar-HeaderStyle-CssClass="CalendarHeader" DateInput-CssClass="CalendarInput" Calendar-ShowRowHeaders="false" />            
</div>        
<div> 
 <telerik:RadDatePicker ID="dateAssignedDate" Runat="server" MinDate="01/01/1900" Width="100" Skin="Office2007" CssClass="Calendar" Calendar-TitleStyle-CssClass="CalendarTitle" Calendar-HeaderStyle-CssClass="CalendarHeader" DateInput-CssClass="CalendarInput" Calendar-ShowRowHeaders="false" />            
</div>   

Georgi Krustev
Telerik team
 answered on 08 Dec 2008
1 answer
99 views
Is there a way to resize the dialog that pops up when doing Paste as Plain Text?  We use the Editor inside an iFrame of set size, and when the Paste dialog pops up it's both too big and not centered vertically. 
Rumen
Telerik team
 answered on 08 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?