Dears,
we are using the RadGrid with a lot of TemplateColumns. Now we setup the grouping for several columns
Groupable=
"true"
GroupByExpression=
"FIELDNAME FIELDNAMEALIAS GROUP BY FIELDNAME"
Because of a multi language system we have to switch the FIELDNAMEALIAS based on context setting
I tried to use literal replacer like <%$ECMResource: mgm_matgr %>, but this did not work. Is there a way to change the alias without code behind?
Thanks
Oliver
Hi i have 3 radgrid in my application. It is in Parent page. In child page i have the data's to be inserted into the list(not just a grid insert, but a page with validation controls and all). I'm using jquery popup for that.
After closing the popup window i want to rebind the radgrid in client side using $find("<% =Grid1.ClientID %>").get_masterTableView().rebind();
It is working fine, if we have only one grid. However it is not working if it 3 grids like below:
$find("<% =Grid1.ClientID %>").get_masterTableView().rebind();
$find("<% =Grid2.ClientID %>").get_masterTableView().rebind();
$find("<% =Grid3.ClientID %>").get_masterTableView().rebind();
The above code executes in client side and rebinds only the LAST one.. here that Grid3 rebinds.
FYI : Now i want to achieve it within this jquery popup not with Radwindow manager.
It seems no matter what I do I end up with a space between columns of about 20px or so. I have used the CSS below, which I found in another thread, to remove margins and padding. This help a little but still some space. How can I remove the space between columns? I am very new to html, css, and asp.net so I am struggling a bit.
html .content .t-col,
html .content .t-container {
padding: 0;
margin: 0;
}
html .content {
padding: 0;
margin: 0;
}
Hi,
I have a RadScheduler set up to use web service binding. Everything works okay, except when navigating to another page before the scheduler has finished retrieving the appointments (either clicking away or hitting F5 can do this), an alert will be thrown with the message 'The server method 'GetAppointments' failed' or 'The server method 'GetResources' failed. I don't want to prevent the user navigating away, so I need to be able to handle/suppress this error message. Is there any way to do this?
You can reproduce the same thing on the demo page at http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx, hit F5 after the scheduler appears but before the appointments have been populated. I have so far only reproduced this in Firefox. The timing is quite tricky to get it on the demo, but if the scheduler were using a slower data provider it would be easier to replicate.
Hi,
I need to do validation of all steps in a radwizard when I click on a button outside wizard.
Any suggestions on how to do this?
Thanks,
Anil
I have this column in my RadGrid:
<
telerik:GridTemplateColumn
DataField
=
"Data"
HeaderText
=
"Image"
UniqueName
=
"Upload"
>
<
ItemTemplate
>
<
telerik:RadBinaryImage
runat
=
"server"
ID
=
"RadBinaryImage1"
DataValue='<%#Eval("Data") %>'
AutoAdjustImageControlSize="false" Height="126px" Width="180px" ToolTip='<%#Eval("Name", "Photo of {0}") %>'
AlternateText='<%#Eval("Name", "Photo of {0}") %>'></
telerik:RadBinaryImage
>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadAsyncUpload
runat
=
"server"
ID
=
"AsyncUpload1"
OnClientFileUploaded
=
"OnClientFileUploaded"
AllowedFileExtensions
=
"jpg,jpeg,png,gif"
MaxFileSize
=
"1048576"
onvalidatingfile
=
"RadAsyncUpload1_ValidatingFile"
>
</
telerik:RadAsyncUpload
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
and I am battling to export the content of the grid to pdf since the result I get does not show the pictures.
These are my export settings:
How can I export the grid to pdf including the binary images?
Thanks for helping
when I create a dynamically control within RadWizard, for example:
// Code Behind
Label mylabel = new Label ();
myetiqueta.ID = "lbl" + step.UniqueID; // step is a variable type RadWizardStep
etiqueta.Text = "Any Value"
step.Controls.Add (label); // Add control
if I want to access control in the code behind, for example
RadWizard.WizardSteps [0] .Controls [0];
I do not have access to control, is there any solution?
I know I can do this with code, but is there no way to populate a Datasource InsertParameter from a control? In this case I want to update the datasource of a second grid with a value in the selected row of the first grid.
<
asp:SqlDataSource
ID
=
"dsCommodities"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:Market_Directory.My.MySettings.dbConnStr %>" DeleteCommand="DELETE FROM [Commodity] WHERE [CommodityID] = @CommodityID" InsertCommand="INSERT INTO [Commodity] ([CommodityName], [SortOrder], [Published], [MaterialID]) VALUES (@CommodityName, @SortOrder, @Published, @MaterialID)" SelectCommand="SELECT [CommodityID], [CommodityName], [SortOrder], [Published], [MaterialID] FROM [Commodity] WHERE ([MaterialID] = @MaterialID) ORDER BY [SortOrder]" UpdateCommand="UPDATE [Commodity] SET [CommodityName] = @CommodityName, [SortOrder] = @SortOrder, [Published] = @Published, [MaterialID] = @MaterialID WHERE [CommodityID] = @CommodityID">
<
DeleteParameters
>
<
asp:Parameter
Name
=
"CommodityID"
Type
=
"Int32"
/>
</
DeleteParameters
>
<
InsertParameters
>
<
asp:Parameter
Name
=
"CommodityName"
Type
=
"String"
/>
<
asp:Parameter
Name
=
"SortOrder"
Type
=
"Int32"
/>
<
asp:Parameter
Name
=
"Published"
Type
=
"Boolean"
/>
<
asp:ControlParameter
ControlID
=
"grdMaterials"
DefaultValue
=
"-1"
Name
=
"MaterialID"
PropertyName
=
"SelectedValue"
Type
=
"Int32"
/>
</
InsertParameters
>
<
SelectParameters
>
<
asp:ControlParameter
ControlID
=
"grdMaterials"
DefaultValue
=
"-1"
Name
=
"MaterialID"
PropertyName
=
"SelectedValue"
Type
=
"Int32"
/>
</
SelectParameters
>
<
UpdateParameters
>
<
asp:Parameter
Name
=
"CommodityName"
Type
=
"String"
/>
<
asp:Parameter
Name
=
"SortOrder"
Type
=
"Int32"
/>
<
asp:Parameter
Name
=
"Published"
Type
=
"Boolean"
/>
<
asp:Parameter
Name
=
"MaterialID"
Type
=
"Int32"
/>
<
asp:Parameter
Name
=
"CommodityID"
Type
=
"Int32"
/>
</
UpdateParameters
>
</
asp:SqlDataSource
>