Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
402 views
Hi,

Is it possible to return IEnumerable<T> from a method and bind this collection to radgrid?

In my scenario, I get data as IEnumerable but I do not want to persist it to the db just to bind it straight away after.


Thanks
Princy
Top achievements
Rank 2
 answered on 22 Feb 2010
3 answers
153 views
I would like to remove a column in a child table. The column to be removed depends upon the value of a certain column in the parent table. I have seen postings that show how to remove a column in the OnPreRender event but all those examples show how to remove a column in the MasterTableView. I need to remove the column in the child table.
Yavor
Telerik team
 answered on 22 Feb 2010
1 answer
83 views
Dear all,
I need to show a different context menu on a grid depending on the columns'header (I cannot rely on the column's index).
Moreover, after the selection of the corresponding menu I need to read the selected value on the grid and to apply new values on the entire column.
Any help?
Yavor
Telerik team
 answered on 22 Feb 2010
3 answers
49 views

Recently I have migrated to newer version of Telerik.Web.UI.dll (from 2008 Q3 to 2009 Q3). I use VS 2005, ASP.NET 2.0 and Asp.NET development server for local testing.

Everything looks fine besides dialogs. All buttons are disabled some reason. And files list shows blank rows (See attached image). I can select blank rows and number of black row equal number of images in the folder. All subfolders are visible as you can see. Same issue happens with all RadEditor dialogs, including: ImageEditor, Templates, etc.

I don’t fink my problem is related to redirection or URL rewriting. If I return old 2008 Q3 library version Telerik.Web.UI.dll back (simply by switching reference in the project and recompiling) all dialogs are working as expected.

What have I missed during migration to new library version? What additional stuff (comparing to old version) latest library version needs to enable dialogs?

Thank you in advance.

Denis.


Denis
Top achievements
Rank 1
 answered on 22 Feb 2010
1 answer
95 views
Hi,

How can i hide and show addnew Button in run time?

lakmal
Shinu
Top achievements
Rank 2
 answered on 22 Feb 2010
2 answers
123 views

 

 

Hi there,

I am currently building a proof of concept application for a client  and I'm trying to integrate the RadCaptcha control into a webpart I am creating for a MOSS 2007 web site, and I'm having a problem with it, being that the image for the CAPTCHA is always broken.

I have added the following to my web.config file:

<httpHandlers> 
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Version=2009.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" /> 
</httpHandlers> 

and:

<handlers> 
<add name="Telerik_Web_UI_WebResource_axd"  verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd"  type="Telerik.Web.UI.WebResource, Version=2009.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> 
</handlers> 

The reason I am fully qualifying the assembly name is because I am putting the Telerik DLL's in the GAC (both Telerik.Web.UI and Telerik.Web.Design - I have checked the version numbers and they match)

I am creating the RadCaptcha control in code like this:

protected override void CreateChildControls()  
{  
    // ...  
 
    RadCaptcha captcha = new RadCaptcha();  
    Controls.Add(captcha);  
 
    // ...  

Any ideas why it isn't creatng the image for me? Help is appreciated

Brian Farnhill
Top achievements
Rank 1
 answered on 22 Feb 2010
0 answers
94 views
(solved)
Sarah
Top achievements
Rank 1
 asked on 21 Feb 2010
2 answers
78 views

  I just experienced using a RadInputManager to optimize my page returning no value when a value of zero (0) is entered into the Number of Currency control.  Upon searching here I found this page

  In that reply it was stated that this may be correct soon (that was March 2009).  I am using 2009.2.701.20 (July 2009) so it does not look like this problem was fixed. 

  Has there been any other work done to correct this?  Or do I need to get rid of using RadInputManager for these controls?

Alex Occhipinti
Top achievements
Rank 1
 answered on 21 Feb 2010
1 answer
267 views
Hello Friends,
                     I want to open radwindow on button click event from server side. I have write following code for open radwindow but it is not working. Please reply me what is wrong and how to overcome this solution.
My aspx page look like,
<asp:content..........>
<asp:RadAjaxPanel...................>
 <asp:button  ................. onclick="Event_name"/>

</asp:RadAjaxPanel>


</asp:content>

Coding have been written on button click event,
protected void InsertButton_Click(object sender, ImageClickEventArgs e)
{
               RadWindow newwindow = new RadWindow();
                newwindow.ID = "SolutionRadWindow1";
                newwindow.NavigateUrl = "Page.aspx";
                newwindow.Width = Unit.Pixel(800);
                newwindow.Height = Unit.Pixel(500);
                Singleton.Windows.Add(newwindow);
}

Regards,
Bhavesh Rana
Shinu
Top achievements
Rank 2
 answered on 20 Feb 2010
2 answers
311 views
Hi
        I have to disable delete button for some of the rows based on the some flag condition returned from DB. I need to set the delete permission to certain role users.

I used template based edit button to invoke delete operation
<telerik:GridTemplateColumn HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" 
                                    HeaderText="Options" AllowFiltering="false" HeaderStyle-Width="13%">  
                                    <ItemTemplate> 
                                        <asp:LinkButton CommandName="Edit" Text="Edit" runat="server"></asp:LinkButton> 
                                      
                                        <asp:HyperLink ID="lnkDel" Text="Del" runat="server"></asp:HyperLink> 
                                                                          
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 

So i have to dynamically enable delete button only for admin users. So help me to get the desired result

-Thanks in advance
John John
Top achievements
Rank 1
 answered on 20 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?