Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
192 views
Sorry for my very bad italian/english.
I'm quite new to .NET and Telerik.
I have a RadGrid control in which I perform edit and insert by using the Radgrid modal popup.
Some of the columns are edit/insert column template, and I can populate the textboxes by using RadDatePicker, Combobox ...
I would like some fields in the edit popup to be populated from data picked doubleclicking on another RadGrid (let's say it's in a RadWindow opened by a RadButton near the textbox).
How can I perform data transfer between RadWindow and edit/insert popup of the first RadGrid?
Thank you
Princy
Top achievements
Rank 2
 answered on 06 May 2011
3 answers
64 views
i have made a page with telerik editor on,
width: 355px > works fine in Internet Explorer but not in Firefox,

if i remove the basictoolbar.xml, its OK in firefox, but i want to add some text editing options,

anyone who can help me?

you can check the problem on

http://www.viavacation.com/nl/account/acco-add-2/

regards
Wouter
Rumen
Telerik team
 answered on 06 May 2011
1 answer
146 views
I have a RadGrid in a page, and the header text for the columns is set dynamically in the PreRender event so that localization can occur.

I added three new columns to the grid, and for some reasion when I try to find these columns by their UniqueName, an exception is thrown.  If I comment out the call to the three new columns, the problem goes away. If I add any one of the three new columns back, the problem returns.  The problem occurs with the columns "OrderDate", "OrderNo", "PONumber"

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" AllowPaging="false"
            AllowSorting="false" Skin="Simple" EnableEmbeddedSkins="false" Width="100%"
            OnNeedDataSource="RadGrid1_NeedDataSource" 
            OnItemDataBound="RadGrid1_ItemDataBound"
            OnDataBound="RadGrid1_DataBound"
            OnPreRender="RadGrid1_PreRender">
            <MasterTableView TableLayout="Fixed">
                <Columns>
                    <telerik:GridBoundColumn DataField="LineItemId" Visible="false" UniqueName="LineItemId"></telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="OrderLinePOSID" Visible="false" UniqueName="OrderLinePOSID"></telerik:GridBoundColumn>
                      
                    <telerik:GridTemplateColumn UniqueName="LineNumber" Visible="false">
                      <ItemTemplate>
                        <asp:Label runat="server" ID="lblLineNumber" />
                        <asp:Label runat="server" ID="lblLineAssociation" />
                      </ItemTemplate>
                    </telerik:GridTemplateColumn>
                      
                    <telerik:GridTemplateColumn UniqueName="DisplayName">
                        <ItemTemplate>
                            <asp:Label runat="server" ID="LevelLabel" Text="   > " Visible="false"><img alt=" "src="/partner/gfx/POS_RelatedItem.gif" /></asp:Label>
                              
                            <asp:HyperLink runat="server" ID="ProductLink" TabIndex="-1"></asp:HyperLink>
                            <div class="posItemInfo" runat="server" id="AdditionalInfoContaner">
                                <asp:Label runat="server" ID="AdditionalInfoLabel"></asp:Label>
                            </div>
                              
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                      
                    <telerik:GridBoundColumn DataField="OrderDate" UniqueName="OrderDate"></telerik:GridBoundColumn>
                      
                    <telerik:GridBoundColumn DataField="OrderNo" UniqueName="OrderNo"></telerik:GridBoundColumn>
                      
                    <telerik:GridBoundColumn DataField="PONumber" UniqueName="PONumber"></telerik:GridBoundColumn>
                      
                    <telerik:GridBoundColumn DataField="Qty" UniqueName="Qty" HeaderStyle-Width="70"></telerik:GridBoundColumn>
                      
                    <telerik:GridTemplateColumn UniqueName="EndUser">
                        <HeaderStyle Width="274px" />
                        <ItemTemplate>
                            <asp:DropDownList runat="server" ID="EndUserList" Width="250" CssClass="partnerform"></asp:DropDownList>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                      
                      
                    <telerik:GridTemplateColumn UniqueName="Actions" ShowFilterIcon="false">
                        <HeaderStyle Width="80px" />
                        <ItemTemplate>
                            <asp:Button runat="server" ID="SplitButton"/>
                              
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                  
                </Columns>
                  
                <NoRecordsTemplate>
                    <br />
                    <%= _noItemsText %>
                </NoRecordsTemplate>
            </MasterTableView>
        </telerik:RadGrid>


protected void RadGrid1_PreRender(object source, EventArgs e)
    {
        RadGrid1.Columns.FindByUniqueName("DisplayName").HeaderText = _objGenericFormListProvider.FindValue("PartNumber");
        RadGrid1.Columns.FindByUniqueName("OrderDate").HeaderText = "????";
        RadGrid1.Columns.FindByUniqueName("OrderNo").HeaderText = "!!!!";
        RadGrid1.Columns.FindByUniqueName("PONumber").HeaderText = "****";
        RadGrid1.Columns.FindByUniqueName("Qty").HeaderText = _objGenericFormListProvider.FindValue("Quantity");
        RadGrid1.Columns.FindByUniqueName("EndUser").HeaderText = _objGenericFormListProvider.FindValue("EndUser");
    }
Princy
Top achievements
Rank 2
 answered on 06 May 2011
1 answer
93 views
Hi,

I am using RadComboBox in my page.Whenever you select the first item in combo box, selected index becomes -1.
(For example, If am having 10 elements in combobox,by default 1st item is selected, when you click on drop down and and again select the first item,while accessing the selected index from the server side -1 is coming).

Because of this am not able to select the selected value and selected text.
(Binding the RadComboBox from the database)

After doing the same thing, I tried to access the selected value from the client side in OnDropdownClosed event, Selected value and Text is coming.But it is not coming from the server side.


Thanks,
John
Badri
Top achievements
Rank 1
 answered on 06 May 2011
4 answers
366 views
Hi,

   I have RadGrid in that am using edit form for inserting and editing records. I have given MasterTableView Width 150%.While adding the new record edit form is coming correctly and it is 100%. But while in edit mode,it  is taking the width of MasterTableView. Is there any way to set the width 100% in edit mode also.


Please help me.

Thanks,
John
john
Top achievements
Rank 1
 answered on 06 May 2011
2 answers
142 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
104 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
132 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
63 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
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?