Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
91 views
Hi,

How do I show a Toolbar placed on a GridTemplate column on item row selection (client) and hide it on item row deselection (client-side)?

Avidan
Avidan
Top achievements
Rank 1
 answered on 07 Nov 2010
5 answers
600 views
Hello,

I would like to know how to go about adding code or a property to a button on a radToolbar that would force a FULL postback, even though the radToolbar is contained within an UpdatePanel?

I need this because I am writing a file to the browser upon postback and I cannot do that unless a FULL postback occurs.

Thank you.
Scott
Top achievements
Rank 1
 answered on 07 Nov 2010
2 answers
192 views
hi,

i get an exception when using raddatepicker within grid formtemplate for creating a new item.
the raddatepicker is bound. editing existing itemes works fine.

<telerik:RadDatePicker ID="DatePickerWJBeginnDatum" runat="server"
    DateInput-DateFormat="dd.MM.yyyy"
    SelectedDate='<%# Bind("WjBeginnDatum") %>'
    Width="400px">
</telerik:RadDatePicker>

thank you for your help
bernhard
Bernhard Rosenfelder
Top achievements
Rank 1
 answered on 06 Nov 2010
6 answers
279 views
Hi,

Is there a  way to implement the multiple file selection for uploading files within the file manager dialogs (Image Manager, Document Manager, etc)?

With other words: Is it possible to use 'ctrl' to select multiple files for uploading in the filemanagers.

I've found the multiple file selection on: http://demos.telerik.com/aspnet-ajax/upload/examples/async/multiplefileselection/defaultcs.aspx

The filemanagers can be found on: http://demos.telerik.com/aspnet-ajax/editor/examples/filemanagers/defaultcs.aspx

Thanks
Rumen
Telerik team
 answered on 06 Nov 2010
2 answers
200 views
I want the callback function that us executed after a call to radconfirm to have access to some additional information. 

I suspect I may be able to use the callerObj property for this, but it is only a guess.

Am I right?

If not I'll have to create a shed load of hidden inputs on the page (and that is sooooo last year).

I wouldn't mind an explanation of what callerObj is for though.

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 05 Nov 2010
4 answers
260 views

On the home master page, on the top right part, certain images that are stored in a picture library must be rotated. I am using a radRotator for this.

The control loads properly but the images arent been displayed. The picture library is in one of the subsites... How do I set the path of the datasource for the rotator to this? For testing I tried to set the source as site collection images, but it wasnt picking up from there either.. Please help!

Following is the code:
     <telerik:RadRotator ID="RadRotator1" runat="server"
      Width="224px" Height="145px" ScrollDuration="500"
      FrameDuration="2000" DataSourceID="Profiles" ItemHeight="145" ItemWidth="224">
      <ItemTemplate>
                            <div class="outerWrapper">
                                <img src='<%# DataBinder.Eval(Container.DataItem, "Name") %>' alt="Customer Image" />
                            </div>
                        </ItemTemplate>
      </telerik:RadRotator>
      <SharePoint:SPDataSource runat="server" DataSourceMode="List" UseInternalName="true"
       selectcommand="&lt;View&gt;&lt;/View&gt;" id="Profiles">
      </SharePoint:SPDataSource>
Tom Kaminski
Top achievements
Rank 1
 answered on 05 Nov 2010
2 answers
156 views
Hello,

i have a radgrid with 4 colums  2 of the  columns are with radio buttons one colum is named Primary and the other is named Secondary. What I'm trying to do is to select one radio button from one columns, only one of the items in the list can be the primary and only one item can be secondary and no item could be primary or secondary. I wouls like to know how can I acheave this so the primary colums displays only one items selected and the secondary shows only one item selected.

i'm new with radgrids and I would like your help

thanks!
daniel
Top achievements
Rank 1
 answered on 05 Nov 2010
1 answer
118 views
Hello,

Please see the attached image. I have the context menu enabled to allow show/hide of columns, but when I combine this with a custom grouping, the Context Menu is hidden behind the Group Header. This seems to happen for every skin I choose (Default and WebBlue anyway). 

If this is a known issue and there is a workaround, please let me know. I really like both of these features very much.

Thank you,

Scott McNeany
Scott
Top achievements
Rank 1
 answered on 05 Nov 2010
1 answer
103 views
We recently upgraded one of our apps (was running a 2008 version) to the latest version of the controls, and of course, the skins changed, and now I need to get the old skins back while keeping the new controls.

I found this post, and a few other articles on the site, and tried to follow the instructions:
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/all-radcontrols-q3-2008-skins-are-now-compatible-with-the-q1-2009-release.aspx

This works mostly. I set up a directory under App_Themes called Default_2008 (using the Default skin from the files above) and set up entries in the web.config as instructed.

One of the issues I'm having is that some of the controls don't work properly without the embedded base stylesheets. The Menu and Editor are good examples of this. I thought about setting the EnableEmbeddedBaseStyleSheet property to "true" for the controls I was having issues with, but it seemed like there were some differences between the old base stylesheets and the new ones, so I didn't want to do that. Including the old base stylesheet code in with the custom skin stylesheet fixes things, but I'm not sure whether that's the best course of action.

Another issue I saw is that when I tried to include the Widgets stylesheets, it screwed up the entire site -- scroll bars no longer appeared, the alignment was all wacky, different fonts, bizarre sizing on controls, etc. I'm not really sure the best way to include these is, as I think they are needed to style the Editor control properly.

I feel like I'm trying to swim upstream with this, which usually means that I'm going about something incorrectly. Is there a better way of setting a custom site-wide skin than what I'm doing? I feel like I'm missing something important here.
Andy
Top achievements
Rank 1
 answered on 05 Nov 2010
3 answers
360 views
Hey guys,

Maybe I'm not familiar enough with these controls to understand why this behavior is occurring, but I've spent a good amount of time trying to figure it out, and cannot. Can you help?

On my initial page load, my grid will display the filter criteria with the drop-down for filter options, the header context menu, the export options, and the paging options. 

After I click 'Run Report', 'Refresh', or apply a filter, the following things happen unexpectedly.

1. Filter Criteria drop-down now is disabled and filters cannot be applied.
2. Header context menu is disabled.
3. Page Size drop-down is disabled.

After I click any Export option, the following unexpected things happen. Below is some of the markup that should help.

<!-- content start -->

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="RadGrid1">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

<telerik:AjaxSetting AjaxControlID="btnRunReport">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="WebBlue">

 

 

</telerik:RadAjaxLoadingPanel>

 

 

<telerik:RadGrid ID="RadGrid1" Skin="Office2007" runat="server" Width="95%" AutoGenerateColumns="False"

 

 

OnNeedDataSource="RadGrid1_NeedDataSource" PageSize="25" AllowSorting="True"

 

 

AllowPaging="True" GridLines="None" EnableHeaderContextMenu="true" AllowFilteringByColumn="true">

 

 

<PagerStyle Mode="NextPrevAndNumeric" />

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

<AlternatingItemStyle HorizontalAlign="Left" />

 

 

<ExportSettings Excel-Format="ExcelML" ExportOnlyData="True" FileName="CommissionStatement"

 

 

IgnorePaging="True" OpenInNewWindow="True" Pdf-Author="International Medical Group"

 

 

Pdf-Creator="International Medical Group" Pdf-PageHeight="8.5in" Pdf-PageWidth="11in"

 

 

Pdf-Title="Commission Statement">

 

 

<Pdf Creator="International Medical Group" Author="International Medical Group" Title="Commission Statement"

 

 

PageWidth="11in" PageHeight="8.5in"></Pdf>

 

 

<Excel Format="ExcelML"></Excel>

 

 

</ExportSettings>

 

 

<MasterTableView AllowMultiColumnSorting="false" TableLayout="Fixed" CommandItemDisplay="Top">

 

 

<CommandItemSettings ShowExportToWordButton="true" ShowExportToPdfButton="true" ShowExportToExcelButton="true"

 

 

ShowExportToCsvButton="true" ShowAddNewRecordButton="False" />

 

 

<RowIndicatorColumn Visible="True">

 

 

</RowIndicatorColumn>

 

 

<Columns>

 

 

<telerik:GridBoundColumn DataField="CompanyAbbreviation" HeaderText="Company" SortExpression="CompanyAbbreviation"

 

 

UniqueName="Company" CurrentFilterFunction="StartsWith" AutoPostBackOnFilter="true"

 

 

Display="true">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="prem_comm_cert_nbr" HeaderText="Certificate Number"

 

 

SortExpression="prem_comm_cert_nbr" UniqueName="CertificateNumber" CurrentFilterFunction="StartsWith"

 

 

AutoPostBackOnFilter="true">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="prem_comm_desc" HeaderText="Primary Insured Name"

 

 

SortExpression="prem_comm_desc" UniqueName="PrimaryInsuredName" CurrentFilterFunction="StartsWith"

 

 

AutoPostBackOnFilter="true">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="cov_desc" HeaderText="Coverage" SortExpression="cov_desc"

 

 

UniqueName="Coverage" CurrentFilterFunction="StartsWith" AutoPostBackOnFilter="true">

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings ReorderColumnsOnClient="True" AllowColumnsReorder="True" AllowColumnHide="True">

 

 

<Resizing AllowRowResize="True" AllowColumnResize="True"></Resizing>

 

 

<Animation AllowColumnReorderAnimation="True" />

 

 

</ClientSettings>

 

 

<FilterMenu Skin="WebBlue">

 

 

</FilterMenu>

 

 

</telerik:RadGrid>

 



1. The entire Command Item Menu and Footer (where the paging is) simply disappears and no report is exported.


Please provide any suggestions that you may have. 
Scott
Top achievements
Rank 1
 answered on 05 Nov 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?