Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
324 views
Hello Telerik Team,

I m getting the HTTP Exception: Request is not available in this context.

at System.Web.UI.Page.get_Request()
   at Telerik.Web.UI.RadGrid.BrowserIsCrawler()
   at Telerik.Web.UI.RadGrid.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at System.Web.UI.ControlCollection.Add(Control child)
   at Class.Data.GetDataControl(Page& Page, Control& ctrlRef, HttpServerUtility& Server) in 
  
C:\inetpub\wwwroot\Class\Data.vb:line 56
   at Controls.ResultsControl.DefineGridStructure(XmlDocument& xmlDoc, Page& Page, PlaceHolder& 
  
phlaceholder1, HttpServerUtility& server) in C:\inetpub\wwwroot\Controls
  
\ResultsControl.ascx.vb:line 65
   at Controls.ListingResultsControl.page_Init(Object sender, EventArgs e) in C:\inetpub\wwwroot\Controls\ResultsControl.ascx.vb:line 14
   at System.Web.UI.Control.OnInit(EventArgs e)
   at System.Web.UI.UserControl.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at System.Web.UI.ControlCollection.AddAt(Int32 index, Control child)
   at Class.Handler.Submit(RadMultiPage& tabMultiPage, XmlDocument docRequest) in C:\inetpub\wwwroot\Class\Handler.vb:line 113
   at Controls.TreeControl.GetTypes() in C:\inetpub\wwwroot\Controls
  
\TreeControl.ascx.vb:line 293
   at Controls.TreeControl.RadTreeView1_NodeClick(Object sender, RadTreeNodeEventArgs e) in C:
  
\inetpub\wwwroot\Controls\TreeControl.ascx.vb:line 152
   at Telerik.Web.UI.RadTreeView.RaiseEvent(Object eventKey, RadTreeNodeEventArgs e)
   at Telerik.Web.UI.RadTreeView.OnNodeClick(RadTreeNodeEventArgs e)
   at Telerik.Web.UI.RadTreeView.RaisePostBackEvent(String eventArgument)
   at Telerik.Web.UI.RadTreeView.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String 
  
eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean 
  
includeStagesAfterAsyncPoint)
Since, I can't send the whole code, I can explain on a high level where I am getting this issue:

I m trying to interact between two userControls inside a Radpageview. When sending the request from one control(RadtreeView) to Grid and rebinding it..I m getting this at the point where I bind this grid to a placeholder.
I see that the data is getting binded to the control properly but before rendering on to the page, I m coming across this error.
I m not using HttpContext.Current.Request anywhere in my code. It is rendered on to my IE with IIS7.0

Any help on this will greatly be appreciated.
Pavlina
Telerik team
 answered on 12 Aug 2010
3 answers
360 views
Hi,

Is it possible to make all content uneditable by default by, for example, specifying a div tag after the body tag, and then selectively enable editing of just the odd part of the HTML document? It would seem to make the most sense because most of the time you would want the user to edit just a small part of the web page and to have to specifiy what can and cannot be edited would be extremely tedious. I have experimented with numerous options at the beginning of the document but none seem to achieve the above.

I am wanting to give a client a basic CMS facility within the editor but to keep it relatively simple to implement.

Many thanks for any help you can offer.

Regards

Tim
Rumen
Telerik team
 answered on 12 Aug 2010
1 answer
54 views
We are implementing a scenario very similar to the Telerik demo here:
http://demos.telerik.com/aspnet-ajax/xmlhttppanel/examples/gridinxmlhttppanel/defaultcs.aspx

It works fine until we add command buttons such as Edit and Delete to the grid. When paging or performing any action that needs to reload the grid, the Edit will not be inline, but rather show a form below the grid for editing.

The problem we are encountering is that the Edit and Delete buttons in the grid won't do anything. Eventhough the ItemCommand event is specified in the grid declaration.

Can anyone show an example or let us know what must be done to get this to work as expected (the Edit and Delete buttons firing the event handler, etc.)?

Thanks in advance!

Anthony
Veli
Telerik team
 answered on 12 Aug 2010
2 answers
146 views

Hi,
 When trying to add a word to the custom dictionary, we are experiencing the following error :-

Spell Check Handler Server Error:403
403 FORBIDDEN

 I've had this error before in the Lite version of the RAD editor and the simple solution was to change the permissions on the TDF folder to allow access to 'Everyone'. I've done that in this case and the error still occurs. Can you advise?

 The folder path is :-

C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.7.1.0__1f131a624888eeed\Resources\App_Data\RadSpell\TDF

Thanks,
Jason.
Jason Brownhill
Top achievements
Rank 1
 answered on 12 Aug 2010
1 answer
135 views
Hello, 
We are using checkboxes to indicate selection...

Is there a property/method to disable node selection?  We'd like to disable the "selectability" of nodes.
...or is this done via CSS?

Also, is there a way to check the corresponding checkbox when the node is clicked?

Thanks,
Mark
Shinu
Top achievements
Rank 2
 answered on 12 Aug 2010
1 answer
98 views
I have the following rotator that is linked to an xml file

<table><tr>
                                             <td><img  style="position:static;"  id="rrButtonLeftg1" alt="" onmouseover="imgleftover('rrButtonLeftg1')" onmouseout="imgleftout('rrButtonLeftg1')"  src="rotator/rotator_left_01.png"  /></td>
                                            <td>
                                                            <telerik:RadRotator ID="RadRotator1g" runat="server" Height="190px" Width="800px"
                                                                BackColor="#526b75" RotatorType="ButtonsOver" ItemHeight="100px" ItemWidth="160px"
                                                                DataSourceID="XmlDataSourceg1" Skin=""  ScrollDuration="350"
                                                                FrameDuration="800">
                                                                <ItemTemplate>
                                                                    <div class="itemTemplate">
                                                                        <table style='margin: 1px 1px 1px 1px; background-color: transparent; padding: 0;
                                                                            border: none; cursor: pointer; width: 100%; -moz-border-radius: 1px; -webkit-border-radius: 1px;'>
                                                                            <tr>
                                                                                <td style="width: 10%">
                                                                                            
                                                                                </td>
                                                                                <td style="width: 80%">
                                                                                    <a href='<%# XPath("link") %>' style="width: 100%" >
                                                                                        <img align="center" border="0" height="130" hspace="0" src='<%# XPath("src") %>'
                                                                                            width="90" />
                                                                                    </a>
                                                                                </td>
                                                                                <td style="width: 10%">
                                                                                          
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 100%" colspan='3' align="center">
                                                                                    <a href='<%# XPath("link") %>' style='font-weight: bold; font-size: 8pt; color: #484849;'>
                                                                                        <%# XPath("title") %>
                                                                                    </a></font>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </div>
                                                                </ItemTemplate>
                                                            <ControlButtons LeftButtonID="rrButtonLeftg1" RightButtonID="rrButtonRightg1" />
                                                </telerik:RadRotator></td>
                                            <td><img  style="position:static;"  id="rrButtonRightg1" onmouseover="imgrightover('rrButtonRightg1')" onmouseout="imgrightout('rrButtonRightg1')" alt=""   src="rotator/rotator_righ_01.png"  /></td>
                                            </tr></table>

The rotator shows an image and title below it
The XML file contains 12 entities. I want to do display 4 each time we click on the button next or previous.So on load i want to show only 4 images and corresponding titles without downloading all remaining others.And on next click i need to load into the rotator the next 4 entities but without doing any post back without reloading the whole page. How can i do that?
Svetlina Anati
Telerik team
 answered on 12 Aug 2010
1 answer
210 views
Hi,

I'm using the AsyncUpload control to upload many files to the server (see the control definition at the end). The MultipleFileSelection is 'Automatic'  and MaxFileInputsCount is 5. In the file selection dialog you can select as many files, but I will be limited to 5 (MaxFileInputsCount). Is there a possibillity to check this.

Detlef!

<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" InputSize="35" 
            MultipleFileSelection="Automatic" 
            onfileuploaded="RadAsyncUpload1_FileUploaded" OverwriteExistingFiles="True" 
            ReadOnlyFileInputs="True" Skin="Windows7" TargetFolder="~/Files" 
            AllowedFileExtensions=".csv,.zip" 
            AllowedMimeTypes="text/comma-separated-values,application/zip" 
            MaxFileInputsCount="5" MaxFileSize="1048576" Height="200px" >
</telerik:RadAsyncUpload>
Genady Sergeev
Telerik team
 answered on 12 Aug 2010
1 answer
90 views
hi all,

how to change the  window loading animation to custom.

thanks
benjamin
Svetlina Anati
Telerik team
 answered on 12 Aug 2010
3 answers
126 views
Hi I am using datepicker in my page to show the Month/year (for eg. August 2010). I formated the output, but when I input as 01/2010
im not getting January 2010, instead August 2010 (current month). How to do this in rad datepicker control? any help would be greately appreciated.

Input                  Output
01/2010             January 2010
Jan 2010           January 2010
1/1/2010            January 2010

Thanks,
Arun.K.S
Martin
Telerik team
 answered on 12 Aug 2010
1 answer
101 views
I'm using the hierarchial RadGrid. I'm trying to 'tie' the nested grid to the parent grid without using a SqlDataSource as the source. (All of the demos use a SqlDataSource).
I usually do this on the 'selectedIndexChanged' event of the gridview, where i get the parent row's ID by the Selected Value. In this case, though, I don't see an event where I can retreive the DataKey value.
Is there an 'OnExpandedRow' event or 'OnNestedGridDataBound' or something similar?
Maria Ilieva
Telerik team
 answered on 12 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?