Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
54 views
I looked around on the forms, and I found this to remove the selection border from the RadGrid in FF, but it's not working

table { -moz-user-select: none; }

(see attached)

Clientside bound...one template column....?


Mira
Telerik team
 answered on 10 Jun 2010
1 answer
90 views
I'm using version 2010.1.309.35.
but when I wanted to select the skin, my custom skin "Green" was not shown in the properties.

I'm wondering that the reference I followed is for the old version, not 2010.1.309.35.

Please help!

Thanks
Brew
Chip
Top achievements
Rank 1
 answered on 10 Jun 2010
3 answers
85 views
Hello,

I have the following code;

            GridHyperLinkColumn grdLinkDetail = new GridHyperLinkColumn();
            grdLinkDetail.Text = "Detail";
            grdLinkDetail.UniqueName = "Detail";
            grdLinkDetail.DataNavigateUrlFields = new string[] { "ClientID" };
            grdLinkDetail.DataNavigateUrlFormatString = "javascript:ViewClient({0})";
            grdLinkDetail.HeaderText = "Detail";
            grdSimilarMatches.MasterTableView.Columns.Add(grdLinkDetail);

When the link is clicked I am going to a Javascript function to handle some functionality.  I am trying to replace the link with an image instead.  I have tried the  GridImageColumn but cannot seem to get this working.

Is there an example out there?

Thanks,
Feizal
Pavlina
Telerik team
 answered on 10 Jun 2010
1 answer
57 views
Hi

I am testing Telerik controls.I got two options to build tabbed style application.
(1)tabstrip + multipage + usercontrol
(2)tabstrip + multipage + iframe + aspx
which one is the best?better perfomance and easy control.

any suggestion or code snippets?

thanks.
Yana
Telerik team
 answered on 10 Jun 2010
1 answer
119 views
I am experimenting with the RadGrid, and want to display an alert when the OnCommand event fires, to see when OnCommand is triggered, but nothing is coming up.  

<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True" DataSourceID="ds_MainGrid" GridLines="None"
Skin="WebBlue" Width="1025px" AutoGenerateColumns="False"  AllowAutomaticUpdates="True" ShowStatusBar="True" ShowFooter="True" >
<HeaderContextMenu EnableAutoScroll="True">
</HeaderContextMenu>
<MasterTableView DataSourceID="ds_MainGrid" DataKeyNames="ID" ClientDataKeyNames="ID" EditMode="InPlace" >
<Columns>
<telerik:GridTemplateColumn UniqueName="TemplateEditColumn">
<ItemTemplate>
<asp:Button ID="btn_Row_Options" runat="server" Text="Options" />
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="ID" HeaderText="ID" SortExpression="ID" UniqueName="ID">
<EditItemTemplate>
<asp:TextBox ID="IDTextBox" runat="server" Text='<%# Bind("ID") %>' Width="27px" ></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="IDLabel" runat="server" Text='<%# Eval("ID") %>' Width="27px"></asp:Label>
</ItemTemplate>
<HeaderStyle Width="20px" HorizontalAlign="Center" />
<ItemStyle Width="20px" />
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
<ClientSettings AllowColumnsReorder="True"  >
<ClientEvents OnCommand="grid_Command" /> 
</ClientSettings>
</telerik:RadGrid>

   
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function grid_Command(sender, eventArgs)
{
   alert('testing');
}
</script>
</telerik:RadCodeBlock>



Maria Ilieva
Telerik team
 answered on 10 Jun 2010
2 answers
183 views
im binding radgrid from a dataset.Also using custom search option.Even though my dataset having values its not binding to the grid.so when ever i click the sort in the header the record is displaying.Please provide any help. Need an urgent fix
renju
Top achievements
Rank 1
 answered on 10 Jun 2010
4 answers
99 views
Hi,
I got a little problem with local resources and the RadGrid under Mono. If I create local resources for a page where I use a grid I get the following error:
Compilation Error 
 
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. 
 
Compiler Error Message: CS0029: Cannot implicitly convert type `string' to `bool
 
Source Error: 
 
Line 25:                 </ExpandCollapseColumn> 
Line 26:                 <Columns> 
Line 27:                     <telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="column"  
Line 28:                         meta:resourcekey="GridBoundColumnResource1"
Line 29:                     </telerik:GridBoundColumn> 
 
 
Source File: /home/mono/Desktop/MonoProblemTest/MonoProblemTest/Default.aspx  Lines: 27, 30, 33 
If I remove the meta:resourcekey="xyz" attribute everything works fine.

I am not that sure if this is a Telerik problem at all. This is why I also filed a Mono bug. There you can find a small project attached which reproduces the error on Mono. You can find it here: Novell-Bugzilla

Did you ever come across this issue?

Best regards
Ferdinand
Ferdinand
Top achievements
Rank 1
 answered on 10 Jun 2010
1 answer
185 views
Hi,
I have just tried upgrading Telerik RadControls for ASP .NET AJAX from 2008.3.1314 to 2010.1.519.

The upgrade appeared to go OK locally but once I deployed live I started getting the following exception thrown intermittently upon a loading a page:
System.Web.HttpException: Multiple controls with the same ID 'ctl34' were found. FindControl requires that controls have unique IDs.
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.EnsureNamedControlsTable()
at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
at System.Web.UI.Control.FindControl(String id)
at Telerik.Web.ChildControlHelper.FindControlRecursive(Control searcher, String ID)
at Telerik.Web.UI.RadAjaxControl.PerformRender()
at Telerik.Web.UI.RadAjaxControl.OnPageRender(HtmlTextWriter writer, Control page)
at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at umbraco.UmbracoDefault.Render(HtmlTextWriter output)
at System.Web.UI.Adapters.ControlAdapter.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


I have not made any changes to the page, and the error seems to be coming from inside RadAjax, so the culprit is definitely something going wrong within RadAjax.

On the page I have some RadAjax, a RadComboBox and a RadMaskedTextBox. I am also using PeterBlum 4.0.5 validators.

I think I remember getting this problem before with older versions of Telerik but I believe it disappeared with one of the upgrades, so this appears to be a regression.
Iana Tsolova
Telerik team
 answered on 10 Jun 2010
4 answers
172 views

Hi,

I am exporting controls of asp panel using the following code. This code works well asp.net controls but when I use same panel having telerik controls it gives me error "The control with ID 'txtEmail' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it." on RenderControl line.

protected

 

void ExportGridView()

 

{

Response.Clear();

Response.AddHeader(

"content-disposition", "attachment;filename= Report.xls");

 

Response.Charset =

"";

 

Response.ContentType =

"application/vnd.ms-excel";

 

 

System.IO.

StringWriter stringWrite = new System.IO.StringWriter();

 

System.Web.UI.

HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);

 

 

Page pg = new Page();

 

pg.EnableEventValidation =

false;

 

pg.DesignerInitialize();

 

HtmlForm frm = new HtmlForm();

 

pg.Controls.Add(frm);

frm.Attributes.Add(

"runat", "server");

 

frm.Controls.Add(pnlUser); // Adding panel to form

frm.RenderControl(htmlWrite);

Response.Write(stringWrite.ToString());

Response.End();

}

Lubna Ansari
Top achievements
Rank 1
 answered on 10 Jun 2010
2 answers
65 views
Hi,

Is it possible to have that elegant "look & feel" in ASP.NET AJAX grid column filtering as that we see in ASP.NET MVC grid demo?


Please let me know.

Many thanks.

MG
FISCAL
Top achievements
Rank 1
 answered on 10 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?