Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
248 views
I am using RadFormDecorator on an Asp.Net4 site.

When a request is made to WebResource.axd for the RadFormDecorator Skin using the  'www.' URL the correct CSS is returned.

When the same request is made without the 'www.' the error is produced:

System.Web.HttpException: This is an invalid webresource request.

System.Web.HttpException (0x80004005): This is an invalid webresource request.

   at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Here is the code from the sites masterpage:
<telerik:RadScriptManager runat="server" ID="radScriptManager" OutputCompression="AutoDetect" CdnSettings-TelerikCdn="Enabled" CdnSettings-BaseUrl="https://d2i2wahzwrm1n5.cloudfront.net"  EnablePartialRendering="true" EnableScriptCombine="true" />
<telerik:RadStyleSheetManager runat="server" ID="RadStyleSheetManager1" CdnSettings-TelerikCdn="Enabled" CdnSettings-BaseUrl="https://d35islomi5rx1v.cloudfront.net" EnableStyleSheetCombine="true" />
<telerik:RadFormDecorator ID="radFormDecorator" runat="server" DecoratedControls="all" Skin="Windows7" />


How can I stop this error?
Niko
Telerik team
 answered on 06 Feb 2012
4 answers
100 views
Hi Friends,

Belated wishes Happy New 2012.

In my project, I'm using RadTreeview. Earlier i have client side(Java Script) code within page itself. It works fine. But Now i move all codes to separate Java Script File it won't find Tree View. Please give me solution for this.  Because of Security Reason I move to  separate  file.


Thanks 
-- Vinoth

Kate
Telerik team
 answered on 06 Feb 2012
1 answer
58 views

                I have Telerik controls for ASP.NET used in a web page in my project. There is a RadAjaxPanel, which has a RadComboBox. This combo box has a RadTreeView placed inside it. When a node is clicked in the RadTreeView, the NodeClick event for the RadTreeView is fired which populates data in a RadGrid placed inside the same RadAjaxPanel. The requirement is when the data is getting fetched, a progress bar should appear to indicate a background processing. It is working fine.  But, once the grid is loaded, the RadComboBox is disabled and is not available again for selection. Kindly advice me on how to make the RadComboBox available for selection even after the first node click has taken place.

Tsvetina
Telerik team
 answered on 06 Feb 2012
1 answer
62 views
I am using Grid with button on it and i have already uploaded .SWF FIle in Database, now i want to display that SWF file in Web Page on Button click of Grid Row and it should be on particular section how can i get this using any telerik control
Tsvetina
Telerik team
 answered on 06 Feb 2012
1 answer
158 views
Does anyone have an example of how to dynamically add a web user control to a RadPanel? I have the following code, but it does not like how I am assigning the control. Does anyone have any ideas or a better way of doing this?
Dim mainItem As New RadPanelItem()
mainItem.Text = "Parent"
mainItem.Expanded = True

Dim secItem As New RadPanelItem()
secItem.Text = "Child"
secItem.Expanded = True

Dim control As New RadPanelItem()
Dim uc As Control = Page.LoadControl("~/WebUserControls/Panels/pnl_Selection.ascx")
uc.ID = "ucSelection"
control.Items.Add(uc)

secItem.Items.Add(control)
mainItem.Items.Add(secItem)
pbPnlBar.Items.Add(mainItem)
Princy
Top achievements
Rank 2
 answered on 06 Feb 2012
1 answer
56 views

Hi,

I have a main page like Main.aspx.

 

 

<telerik:RadPane ID="viewPane" runat="server" Scrolling="None" >

 

 

<telerik:RadSplitter ID="innerSplitter" runat="server" Height="100%" Width="100%" EnableViewState="true" VisibleDuringInit="true" >

 

 

<telerik:RadPane ID="leftMiddlePane" runat="server" ContentUrl="StartPage.aspx"></telerik:RadPane>
</telerik:RadSplitter >
</telerik:RadPane >

I have another page say Default.aspx  which contains RadTabStrip inside RadTab say copy,paste etc..
programatically I set Default.aspx in the "leftMiddlePane" .
I have another page open using window.open method .

My aim is to access RadTab text in the newly opened window .?

How can I get these RadTabs name inside newly opened window using javascript or Jquery?

Thanks

Sindu.



Shinu
Top achievements
Rank 2
 answered on 06 Feb 2012
2 answers
82 views
Good Morning,

I am trying to deploy my VS2010 solution to our internal dev web server (.net 4.0)
so our management team can see the demo i made.

I have included references to
Telerik.Web.Design.dll
Telerik.Web.UI.Skins.dll
TelerikCode.dll

I copy the code out to the dev webserver
Create the IIS directory
Set up the app pool. ect.

The grid shows up with my data in it.
Then i click on the column to sort and the radgrid disappears
This does not happen locally.

What am i missing on my server to make this work?

Thanks, Jon
Tsvetina
Telerik team
 answered on 06 Feb 2012
5 answers
115 views
Hi all,
I am new one for telerik controlls, my scenario is following
i have one mater grid and its detail grid and both gird have EditFormTemplete it means i want to add, update both master and details tablse through editform templete fields, and i have bound master and details gird with entityDataSource object control so i want to insert through EntityDataSource Object onInsert Event . i wrote insert event of entity data source like this and it works fine

protected void OnAllMembersInserting(object sender, EntityDataSourceChangingEventArgs e)
        {
            try
            {
                GridEditFormItem editedItem = (GridEditFormItem)(rg_AllMembers.MasterTableView.GetItems(GridItemType.EditFormItem)[0]);
                if (editedItem != null)
                {
                    DAL.UserProfile uP = (DAL.UserProfile)e.Entity;
                    uP.RoleName = (editedItem.FindControl("rdbtnRegisterAs") as RadioButtonList).SelectedIndex.Equals(0) ? HunchClub.Common.Constants.RoleNames.Bidders : HunchClub.Common.Constants.RoleNames.Sellers;
                    uP.RegisteredDate = DateTime.UtcNow;
                    uP.RegisteredIPAddress = Common.Utility.Operations.GetUserIPAddress();
                    uP.islock = (editedItem.FindControl("chkIsLock") as CheckBox).Checked;

                    BLL.BO.Profile.Members m = new BLL.BO.Profile.Members();
                    string[] outMessage = new string[] { };
                    string UserID = HunchClub.BLL.BO.Profile.aspMembership.CreateNewUser(uP.PrimaryEmailAddress, (editedItem.FindControl("txtPassword") as RadTextBox).Text, uP.PrimaryEmailAddress, true, out outMessage);//isApprove is false until user verify email address
                    if (!string.IsNullOrEmpty(UserID))
                    {
                        HunchClub.BLL.BO.Profile.aspMembership.AddUserToRole(uP.PrimaryEmailAddress, uP.RoleName);
                        uP.ID = Guid.Parse(UserID);
                    }
                }
            }

so how can i find such fields on update when i write this line for finding controls
GridEditFormItem editedItem = (GridEditFormItem)(rg_AllMembers.MasterTableView.GetItems(GridItemType.EditFormItem)[0]);
it gives all null controls

is there any one can help me how can i find master and details editforms fiedls with sample code
Tsvetina
Telerik team
 answered on 06 Feb 2012
3 answers
84 views
Hi there,

I have 2 RadDatePicker controls on a page.  When a user picks a date from the first one, I want the second one to show a date that's one month later than the first one.

I am not having much success doing this.  Could you guys throw together a quick example that illustrates this?

thanks!
Antonio Stoilkov
Telerik team
 answered on 06 Feb 2012
1 answer
65 views

Hi,

I have a radsplitter control and RadPane control is inside it.

I have set contenturl property of the Radpane control and call another   aspx web page.

In this aspx page there is a radtabstrip control and 5 tabs inside it .

How can I access this tabs using Javascript or Jquery ?
I have open an another window using window.open method.

My aim is to findout selected tabs on the button click event.

Please help me ..

Thanks,

Sindu

Princy
Top achievements
Rank 2
 answered on 06 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?