Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
134 views
I am using the RadTabStrip with RadMultiPage. Normally when a user selects a tab, only the appropriate RadPageView is visible. When you select a different tab, a different RadPageView becomes visible, and the previous is hidden.

In a certain scenario (e.g. when I print my page), I would like to have ALL tabs (all RadPageView in a RadMultiPage) visible at once. How can I do that?

Thanks,
Jay
Jay O'Brien
Top achievements
Rank 1
 answered on 06 May 2011
2 answers
51 views
Hello,

I would like to disable the ImageManager for certain users of my site and display a message accordingly when they click on the button.  Is that possible?

Example: A membership site where premium members can upload and manage photos in the editors but a normal user cannot and sees a message telling them to upgrade membership.

Hope it's possible.  Thank you!

Avery
Top achievements
Rank 1
 answered on 05 May 2011
1 answer
103 views
Hello

I use

grdOrders.MasterTableView.ExportToPdf();

to export my grid to pdf, it works fine however, when i open pdf file, I see turkish charaters "ş,ç,ğ"  broken as  "#"
Is there a way to set encoding of pdf export? i couldnt find it in documentation.

Thanks
Daniel
Telerik team
 answered on 05 May 2011
3 answers
130 views
This is the first RadProgressManager/RadProgressArea that I've tried to hook up to show the file progress for a page using RadUpload. The Progress Area is displaying during the upload, but the progression (upload percent, progress bar, estimated time, and speed) is not updating. The file size and the elapsed time is showing normally. Searching the Telerik forums, it looks like the normal problem is the references in the web.config, but I've checked and mine look to match the suggested properties. Any help would be appreciated. I am running Telerik v 2011.1.315.40, Framework 4.0, and IIS 7.5.

(Format code block does not appear to be working from IE or Firefox, so just pasting it below for the application's web.config)

<

 

 

system.web>

 

 

<

 

 

trust level="Full" />

 

 

<

 

 

compilation debug="true" strict="false" />

 

 

<

 

 

httpHandlers>

 

 

<

 

 

add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>

 

 

<

 

 

add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/>

 

 

<

 

 

add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>

 

 

<

 

 

add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>

 

 

<

 

 

add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>

 

 

</

 

 

httpHandlers>

 

 

<

 

 

httpModules>

 

 

<

 

 

add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>

 

 

</

 

 

httpModules>

 

 

<

 

 

pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" >

 

 

<

 

 

controls>

 

 

<

 

 

add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>

 

 

</

 

 

controls>

 

 

</

 

 

pages>

 

 

<

 

 

httpRuntime maxRequestLength="204800" enable="true" useFullyQualifiedRedirectUrl="true" executionTimeout="3600" />

 

 

</

 

 

system.web>

 

 

<

 

 

system.webServer>

 

 

<

 

 

security>

 

 

<

 

 

requestFiltering>

 

 

<!--

 

 

209715200 Bytes = 200 * 1024 * 124. The following setting is for 200 Mbytes -->

 

 

<

 

 

requestLimits maxAllowedContentLength="209715200"/>

 

 

</

 

 

requestFiltering>

 

 

</

 

 

security>

 

 

<

 

 

validation validateIntegratedModeConfiguration="false"/>

 

 

<

 

 

modules runAllManagedModulesForAllRequests="true">

 

 

<

 

 

remove name="ScriptModule" />

 

 

<

 

 

remove name="RadUploadModule" />

 

 

<

 

 

remove name="RadCompression" />

 

 

<

 

 

add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler"/>

 

 

<

 

 

add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode,runtimeVersionv4.0" />

 

 

<

 

 

add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule" />

 

 

</

 

 

modules>

 

 

<

 

 

handlers>

 

 

<

 

 

remove name="ScriptHandlerFactory" />

 

 

<

 

 

remove name="ScriptHandlerFactoryAppServices" />

 

 

<

 

 

remove name="ScriptResource" />

 

<

 

 

add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory" />

 

 

<

 

 

add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory" />

 

 

<

 

 

add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler" />

 

 

<

 

 

add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode"/>

 

 

<

 

 

add name="Telerik.Web.UI.SpellCheckHandler.axd_*" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode"/>

 

 

<

 

 

add name="Telerik.Web.UI.DialogHandler.aspx_*" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode"/>

 

 

<

 

 

add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode"/>

 

 

<

 

 

add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode"/>

 

 

</

 

 

handlers>

 

 

</

 

 

system.webServer>

 

Scott
Top achievements
Rank 1
 answered on 05 May 2011
1 answer
60 views
Hello,

I am crating a radchart programatically. On x axis labels are dates. if user selects larger date range then there will be so many dates on x axis,

I want to x axis should intellegently display selected dates depending up on no of x axis values are assigned.

So that x axis labels will not overlap on each another. Is it possible with radchart ?
Gimmik
Top achievements
Rank 1
 answered on 05 May 2011
18 answers
464 views
I want to remove Radgrid from the taborder. I have set TabIndex="-1"  to remove from taborder but it is not working. Any help will be appreciated.

<Common:RadGrid ID="HistoryGrid" GridLines="Both" AllowMultiRowSelection="False"
                                    EnableAJAX="True" ShowStatusBar="True" PageSize="25" AllowPaging="True" AllowSorting="True"
                                    runat="server" Skin="Green" EnableEmbeddedSkins="false" OnNeedDataSource="HistoryGrid_NeedDataSource"
                                    OnItemDataBound="HistoryGrid_ItemDataBound" Width="99%" TabIndex="-1">
                                    <ClientSettings AllowKeyboardNavigation="True" AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                                        <Resizing AllowColumnResize="True" AllowRowResize="False" />
                                        <Selecting AllowRowSelect="False" />
                                        <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="false" />
                                        <ClientEvents OnActiveRowChanged="ActiveRowChanged" OnRowSelected="RowSelected" OnKeyPress="GridKeyPressed" />
                                    </ClientSettings>
Stacy
Top achievements
Rank 1
 answered on 05 May 2011
1 answer
209 views
I have a RadGrid control that has a horizontal scrolling with about 8 columns.

I'd need to disable the scrolling and instead just wrap the texts inside cells of my radgrid.

How would it be possible?

Thanks,
Pavlina
Telerik team
 answered on 05 May 2011
11 answers
147 views
Hi

I'm trying to implement the RadMenu so it works in a similar way to the ASP menu that comes with MOSS by default.  I've had some success, but one problem is that the PortalSiteMapDatasSource (sitemapprovider = CombinedNavSiteMapProvider) returns a parent node for the current SharePoint site (dependant upon how you configure your Global site sections under Site Actions - Modify Navigation) and then places all navigation within that site as child nodes beneath it. 

Swap the ASP menu with the Telerik RadMenu and all of a sudden I get one menu item on the menu bar with a drop down containing the items that should be on the root level of the menu.  It appears that the SharePoint ASP menu combines the first two levels together but RadMenu does not.

        <MyCo:MOSSRadMenu id="mossRadMenu" runat="server"
         AppendDataBoundItems="false"
         MaxDataBindDepth="5"
         DataSourceId="siteMapDataSource1"
         CollapseDelay="500"
         EnableViewState="false"
         EnableEmbeddedSkins="false"></MyCo:MOSSRadMenu>

        <PublishingNavigation:PortalSiteMapDataSource ID="siteMapDataSource1" Runat="server" 
            SiteMapProvider="CombinedNavSiteMapProvider" EnableViewState="false" 
            StartFromCurrentNode="true" StartingNodeOffset="0" ShowStartingNode="true" 
            TreatStartingNodeAsCurrent="true" TrimNonCurrentTypes="Heading"/> 

I can stop this happening in the RadMenu by changing the ShowStartingNode attribute of the PortalSiteMapDataSource to "false", however then the root SharePoint site node disappears from the menu.  So I do not want to do that.

Using some code, I was able to move the first level child nodes up one level and this almost works ...

        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);

            // Bring the sub-items up to the main level
            RadMenuItem[] mArray = new RadMenuItem[this.Items[0].Items.Count];
            this.Items[0].Items.CopyTo(mArray, 0); // Get items of next level down
            this.Items[0].Items.Clear(); // clear these items
            this.Items.AddRange(mArray); // paste them at the root level

        }

... the RadMenu now looks just like the ASP menu, the problem I am left with is that when I am at the root site, the first node on the menu (the site root) is styled to be selected - that is what I want.  However when I navigate to another page or site that now appears on the same level of the navigation it will become selected also (again what I want) but the first node (the site root) is still selected - I don't want this to be selected.

For example, if my sharepoint sites look like this:

Portal  (Parent root site)

  • Site 1   (child site)
  • Site 2   (child site)

 

Which creates the navigation (with the code modification above) in SharePoint as:


[ Portal ] | Site 1 | Site 2

When on the Portal root site (the welcome page for Portal), then Portal is styled to show it as selected. 

eg (where [ ] denotes the menu item that is styled as selected):

 
 
[ Portal ] | Site 1 | Site 2 
 
However when on Site 1, both Site 1 and Portal are styled to show they are both selected.  I want only SIte 1 to be selected in this instance.

eg, this is how it currently is rendered:
 


 

[ Portal ] | [ Site 1 ] | Site 2

 

When I walk through the nodes (In the OnPreRender event) the Selected property is always false so it seems it is not here that the RadMenu is deciding what nodes are selected?

Where / how do I control what nodes in my RadMenu are selected when used in a SharePoint MOSS Publishing site?

Kalina
Telerik team
 answered on 05 May 2011
8 answers
263 views
In RadFilter's compare operator dropdown, Is there a way to display Contains as Default instead of Equal to for string data types .
Campus Labs
Top achievements
Rank 1
 answered on 05 May 2011
3 answers
251 views
Hi All,

  I have a listbox with two columns of checkboxes in it. I am binding the list to the database and the data is being dispalyed, but none of the checkboxes is cheked. how can I retreive the checkboxes data for the listbox. Below is my code for binding the listbox

public void populate_selectedAssistAgency(String casRepId)
{
    Model.rep.repHeader RepHeader = new Model.rep.repHeader();
    AssistAgencyAdapter adp = new AssistAgencyAdapter();
    List<Assist> assist = new List<Assist>();
    RepHeader.repId = RepId;
    RepHeader = adp.getSelectedAssistAgency(RepHeader);
    assist = RepHeader.RepAssistAgency;
    RadListBox RadListBox_selectedAssistAgency = (RadListBox)RadPanelBar1.FindItemByText("RepIssues").Items[0].FindControl("RadListBox_selectedAssistAgency");
    RadListBox_selectedAssistAgency.DataSource = assist;
    RadListBox_selectedAssistAgency.DataTextField = "Assist_location_name";
    RadListBox_selectedAssistAgency.DataValueField = "Assist_location_id";
    RadListBox_selectedAssistAgency.DataBind();
}

 and my aspx code loks like this
<td style="width:"2%">t<br />
           <telerik:RadListBox runat="server" ID="RadListBox_selectedAssistAgency" AllowDelete="false" AllowReorder="false"
               AutoPostBack="false" SelectionMode="Multiple" Width="120px" Height="200px"   >
               <ItemTemplate>
                 
                  <asp:CheckBox ID="chkAssistDistance" runat="server" />
                   <asp:CheckBox ID="chkAssistOnSite" runat="server" />
                   <asp:Label ID="lblAssistAgencySelected" runat="server" Text='<%# DataBinder.Eval(Container,"Text") %>'></asp:Label>
               </ItemTemplate>
                
           </telerik:RadListBox>

Any help will be apprecaited.
Anjali
Top achievements
Rank 1
 answered on 05 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?