Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
102 views
Attached file for your reference

<telerik:RadGrid ID="RadGrid1" Width="50%" runat="server" DataSourceID="SqlDataSource1" OnItemDataBound="RadGrid1_ItemDataBound">
<MasterTableView AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
<GroupByExpressions>
<telerik:GridGroupByExpression>

<SelectFields>

<telerik:GridGroupByField FieldName="MetricGroup" HeaderValueSeparator=""/>


</SelectFields>

<GroupByFields>

<telerik:GridGroupByField FieldName="MetricGroup" SortOrder="Ascending" />

</GroupByFields>

</telerik:GridGroupByExpression>
</GroupByExpressions>

<Columns>

<telerik:GridTemplateColumn DataField="Name" DataType="System.Double" FilterControlAltText="Filter Name column" HeaderText="Name" SortExpression="Name" UniqueName="Name" >
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2" align="center">
<b>John Doe #1</b></td>
</tr>
<tr>
<td style="width: 50%" align="center">

<b>Corrective Action</b>
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Name") %>
</ItemTemplate>

</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Jan" DataType="System.Double" FilterControlAltText="Filter Jan column" HeaderText="Jan" SortExpression="Jan" UniqueName="Jan">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2">
<b>Jan</b></td>
</tr>
<tr>
<td style="width: 50%">

<asp:CheckBox ID="CheckBox1" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Jan") %>
</ItemTemplate>

</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Feb" DataType="System.Double" FilterControlAltText="Filter Feb column" HeaderText="Feb" SortExpression="Feb" UniqueName="Feb">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2" >
<b>Feb</b></td>
</tr>
<tr>
<td style="width: 50%" >

<asp:CheckBox ID="CheckBox2" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Feb") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Mar" DataType="System.Double" FilterControlAltText="Filter Mar column" HeaderText="Mar" SortExpression="Mar" UniqueName="Mar">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2" >
<b>Mar</b></td>
</tr>
<tr>
<td style="width: 50%" >

<asp:CheckBox ID="CheckBox3" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Mar") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Apr" DataType="System.Double" FilterControlAltText="Filter Apr column" HeaderText="Apr" SortExpression="Apr" UniqueName="Apr">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2" >
<b>Apr</b></td>
</tr>
<tr>
<td style="width: 50%" >

<asp:CheckBox ID="CheckBox4" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Apr") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="May" DataType="System.Double" FilterControlAltText="Filter May column" HeaderText="May" SortExpression="May" UniqueName="May">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2" >
<b>May</b></td>
</tr>
<tr>
<td style="width: 50%">

<asp:CheckBox ID="CheckBox5" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"May") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Jun" DataType="System.Double" FilterControlAltText="Filter Jun column" HeaderText="Jun" SortExpression="Jun" UniqueName="Jun">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2" >
<b>Jun</b></td>
</tr>
<tr>
<td style="width: 50%" >

<asp:CheckBox ID="CheckBox6" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Jun") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Jul" DataType="System.Double" FilterControlAltText="Filter Jul column" HeaderText="Jul" SortExpression="Jul" UniqueName="Jul">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2" >
<b>Jul</b></td>
</tr>
<tr>
<td style="width: 50%" >

<asp:CheckBox ID="CheckBox7" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Jul") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Aug" DataType="System.Double" FilterControlAltText="Filter Aug column" HeaderText="Aug" SortExpression="Aug" UniqueName="Aug">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2" >
<b>Aug</b></td>
</tr>
<tr>
<td style="width: 50%" >

<asp:CheckBox ID="CheckBox8" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Aug") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Sep" DataType="System.Double" FilterControlAltText="Filter Sep column" HeaderText="Sep" SortExpression="Sep" UniqueName="Sep">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2">
<b>Sep</b></td>
</tr>
<tr>
<td style="width: 50%" >

<asp:CheckBox ID="CheckBox9" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Sep") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Oct" DataType="System.Double" FilterControlAltText="Filter Oct column" HeaderText="Oct" SortExpression="Oct" UniqueName="Oct">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2" >
<b>Oct</b></td>
</tr>
<tr>
<td style="width: 50%" >

<asp:CheckBox ID="CheckBox10" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Oct") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Nov" DataType="System.Double" FilterControlAltText="Filter Nov column" HeaderText="Nov" SortExpression="Nov" UniqueName="Nov">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2" >
<b>Nov</b></td>
</tr>
<tr>
<td style="width: 50%" >

<asp:CheckBox ID="CheckBox11" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Nov") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Dec" DataType="System.Double" FilterControlAltText="Filter Dec column" HeaderText="Dec" SortExpression="Dec" UniqueName="Dec">
<HeaderTemplate>
<table id="Table1" cellspacing="0" cellpadding="0" width="50" >
<tr>
<td colspan="2" >
<b>Dec</b></td>
</tr>
<tr>
<td style="width: 50%">

<asp:CheckBox ID="CheckBox12" runat="server" />
</td>

</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Dec") %>
</ItemTemplate>
</telerik:GridTemplateColumn>




</Columns>
</MasterTableView>
<ClientSettings>
<Selecting AllowRowSelect="true" />
</ClientSettings>
</telerik:RadGrid>


<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:OperationsConnectionString %>" SelectCommand="SELECT Name, MetricGroup, JanGoal AS Jan, FebGoal AS Feb, MarGoal AS Mar, AprGoal AS Apr, MayGoal AS May, JunGoal AS Jun, JulGoal AS Jul, AugGoal AS Aug, SepGoal AS Sep, OctGoal AS Oct, NovGoal AS Nov, DecGoal AS Dec FROM oss.SalespersonMetricGoals"></asp:SqlDataSource>


Pavlina
Telerik team
 answered on 10 Mar 2014
0 answers
47 views
radwindow background not transparent in IE8 i have use also
div.TelerikModalOverlay,
div.radwindow.inactivewindow td.corner,
 div.radwindow.inactivewindow td.titlebar,
 div.radwindow.inactivewindow td.footercenter
 {
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100) !important;
opacity: 1 !important; -moz-opacity: 1 !important;
backcolor: #aaaaaa;
}
this css but not work in IE8
Ganesh
Top achievements
Rank 1
 asked on 10 Mar 2014
0 answers
94 views
radwindow background not transparent in IE8 i have use also
div.TelerikModalOverlay,
div.radwindow.inactivewindow td.corner,
 div.radwindow.inactivewindow td.titlebar,
 div.radwindow.inactivewindow td.footercenter
 {
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100) !important;
opacity: 1 !important; -moz-opacity: 1 !important;
backcolor: #aaaaaa;
}
this css but not work in IE8
Ganesh
Top achievements
Rank 1
 asked on 10 Mar 2014
1 answer
96 views
VisualStudio Version is 2012 & Telerik Version=2013.3.1324.40.

And my code is given below.
<telerik:RadAsyncUpload ID="RAUFeatures" runat="server" Style="float: left;" EmptyMessage="Select File..."  >
   </telerik:RadAsyncUpload>
  
 Thanks
 Manish

Hristo Valyavicharski
Telerik team
 answered on 10 Mar 2014
1 answer
72 views
I have setup the RadAjaxPanel.RequestQueueSize property so that if the user clicks multiple widgets on the screen the actions will be queued. Previously I had the value set to 0 and we would get intermittent viewstate errors as cancelling the previous request somehow mangles the viewstate on the next request. With the RequestQueueSize property set > 0 I am seeing some very strange behavior where the last queued action seems to fire twice. I have no idea why this is happening or how to prevent it. And advice/information on the subject would be much appreciated. Thanks.
Maria Ilieva
Telerik team
 answered on 10 Mar 2014
1 answer
167 views
Hi,

I want to set an empty message in asyncupload as we shows in radtextbox.

My code is

  <telerik:RadAsyncUpload ID="RAUFeatures" runat="server" Style="float: left;" EmptyMessage="Select a File..."
                        Localization-Select="Browse" MaxFileInputsCount="1" Width="400px" TargetFolder="~/App_Data"
                        AllowedFileExtensions="csv" MaxFileSize="614400" OnFileUploaded="RAUFeatures_FileUploaded"
                        OnClientValidationFailed="GridvalidationFailed" OnClientFileUploadRemoved="ToGridDeleteFile"
                        OnClientFilesUploaded="OnClientFilesUploaded">
                    </telerik:RadAsyncUpload>

I have already gave empty message property but not working i am using VS2012 and Telerik Version=2013.3.1324.40

Thanks
Manish.
Hristo Valyavicharski
Telerik team
 answered on 10 Mar 2014
1 answer
133 views
I am using radlistbox to change a display order field.  SqlDataSource fires updated event for appropriate items but the displayorder integer does not get changed.  I'm at a loss as to how to troubleshoot this issue.   code below.

<telerik:RadListBox runat="server" ID="rlbxFields" DataSourceID="sqlFields" AllowDelete="True" AllowReorder="True" DataKeyField="ID" DataSortField="DisplayOrder" DataTextField="LabelText" DataValueField="ID" AllowAutomaticUpdates="true" AutoPostBackOnReorder="true" AutoPostBackOnDelete="true" EnableDragAndDrop="true"></telerik:RadListBox>
<asp:SqlDataSource ID="sqlFields" runat="server" ConnectionString="<%$ ConnectionStrings:zPortalConnectionString %>" DeleteCommand="DeleteFormField" DeleteCommandType="StoredProcedure" InsertCommand="UpsertFormField" InsertCommandType="StoredProcedure" SelectCommand="GetFormFields" SelectCommandType="StoredProcedure" UpdateCommand="UpsertFormField" UpdateCommandType="StoredProcedure">
<DeleteParameters>
<asp:Parameter Name="ID" DbType="Guid" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="FormID" DbType="Guid" />
<asp:Parameter Name="ID" DbType="Guid" />
<asp:Parameter Name="LabelText" Type="String" />
<asp:Parameter Name="Type" Type="String" />
<asp:Parameter Name="DisplayOrder" Type="Int32" />
<asp:Parameter Name="Required" Type="Boolean" />
<asp:Parameter Direction="InputOutput" Name="ID_OUT" DbType="Guid" />
</InsertParameters>
<SelectParameters>
<asp:Parameter Name="FormID" DbType="Guid" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="FormID" DbType="Guid" />
<asp:Parameter Name="ID" DbType="Guid" />
<asp:Parameter Name="LabelText" Type="String" />
<asp:Parameter Name="Type" Type="String" />
<asp:Parameter Name="DisplayOrder" Type="Int32" />
<asp:Parameter Name="Required" Type="Boolean" />
<asp:Parameter Direction="InputOutput" Name="ID_OUT" DbType="Guid" />
</UpdateParameters>
</asp:SqlDataSource>
Hristo Valyavicharski
Telerik team
 answered on 10 Mar 2014
1 answer
295 views
Hello everyone,

I am working with RadDock on an ASP.NET page and having problems with both collapse/expand and resizing the control.  When I collapse and expand the control repeatedly the height of the control grows by about 3-5 pixels.  When I resize the control the height AND width expand around 3-5 pixels beyond what I resized it to.  (e.g I resize the control from 400x400 to 500x500 and release the mouse it will grow to 503x503)

Attached is a picture of the RadDock before a collapse and then after a collapse and expand.

I'm using Telerik product version: 2013.1.326.45 and IE 10

Thanks for any help!

The control is setup as follows:
 
<telerik:RadDock ID="RadDockItems"
                             DockMode="Default"
                             CssClass="dashboardDock"
                             Resizable="true"
                             EnableDrag="true"
                             Title="Follow-up"
                             Height="405px"
                             Width="1111px"
                             DefaultCommands="All"
                             Left="10px"
                             Top="307px"
                             Pinned="true"
                             OnClientResizeEnd="RadDockItems_ResizeEnd"
                             OnClientInitialize="DockInitialize"
                             runat="server">

Slav
Telerik team
 answered on 10 Mar 2014
1 answer
220 views
So have recently moved an application from one Web Server to another.

The new one is running Windows 8.

For whatever reason by RadCaptcha is failing to validate. If you type in the correct text, it says its invalid.

Why would this be ?

I had a brief look at a solution regarding changing the ImageStorageLocation to Session, however once I added the values mentioned into my Web.Config my entire application broke.

I'm not sure this would resolve my issue anyway.

Any suggestions ?

<telerik:RadCaptcha ID="captcha" ProtectionMode="Captcha" runat="server" CaptchaImage-ImageCssClass="captcha_brdr"
    ValidationGroup="validate_buyer_register" CaptchaImage-BackgroundNoise="Extreme" CaptchaImage-LineNoise="High"
    CaptchaImage-EnableCaptchaAudio="true" EnableRefreshImage="True"
    ErrorMessage="Incorrect captcha entered!">
</telerik:RadCaptcha>
Slav
Telerik team
 answered on 10 Mar 2014
7 answers
121 views
I just installed the latest version of Telerik controls and I'm trying to debug problems in IE10.  (Chrome and FireFox appear to be working fine.)

My main problem is this: Even in compatibility mode, the RadGrid on my form is displaying at half its expected width.

The grid is inside a div (and it apparently makes no difference whether the div has a width attribute or not.)

The RadGrid width itself = 99%.  The width of the individual columns has not been set on purpose.  It is expected that they will spread out over the page by default.  Up till now this has always worked even in IE.  

Now that I've upgraded to the latest Telerik controls, this expansion is not happening.  This problem is only occurring in IE10.

Suggestions?
Boris
Top achievements
Rank 1
 answered on 10 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?