Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
623 views
Hello, I have RadGrid which is populated from a data table and the columns for the grid are Autogenerated...since business logic prevents me from defining a telerik:GridHyperLinkColumn at design time how can I add a Hyperlink to a column that was auto generated. I would like it to appear like a design time telerik:GridHyperLinkColumn column where the columns data's text is hyperlinked  I also trap the grids ItemDataBound event and build the hyperlink dynamically using the data from other columns in the grid.

Thanks
Stuart Hemming
Top achievements
Rank 2
 answered on 22 Jul 2009
1 answer
109 views
Hi Telerik,

I have a radgrid with items say(Problem name, start_date, end_date, comments). The grid binds by joining two queries becoz in my table structure one table contains the Problem name and Problem Id (let's say <table_problem>) and another one with start_date, end_date and comments(let's say <table_date>) etc. I bind the grid by joining these two tables. When I double click on grid it would expand the record in edit mode and in edit mode the problem name should be dropdown and all others are textbox and the problem name should bind with problem id and problem name. So here I am unable to bind the dropdown. What ever the queries required for this table should insert/update/delete record in these two tables. So please help me. How to bind the dropdown and all other controls in edit mode.
This is very urgent. Please reply me soon.

Thanks,
Monalisa
Pavlina
Telerik team
 answered on 22 Jul 2009
1 answer
101 views
Hello

In my AdvancedInsertTemplate i have :
<tr> 
 <td> 
  <asp:Label ID="Label2" AssociatedControlID="CB_Groupe" runat="server" CssClass="inline-label">Groupe :</asp:Label> 
 </td> 
 <td> 
  <telerik:RadComboBox runat="server" ID="CB_Groupe" DataTextField="Text" DataValueField="Key" 
    Width="230px" Skin="Black" SelectedValue='<%# Bind("GroupeID") %>' 
    DataSource="<%# GetAvailableUsers(Container) %>"
  </telerik:RadComboBox> 
 </td> 
</tr> 
 
<tr> 
 <td> 
  <asp:Label ID="Label5" AssociatedControlID="CB_Forfait" runat="server" CssClass="inline-label">Formule :</asp:Label> 
 </td> 
 <td> 
  <telerik:RadComboBox runat="server" ID="CB_Forfait" DataSourceID="ForfaitsDataSource"
    DataTextField
="FormuleComplete" DataValueField="comptes_groupes_id" Width="230px" Skin="Black"
    SelectedValue='<%# Bind("ForfaitID") %>'
  </telerik:RadComboBox> 
 </td> 
</tr> 
 

When i want to add a control parameter on the ForfaitsDataSource (AccessDataSource). I haven't the access to the control because the control is in the AdvancedInsertTemplate.

<asp:AccessDataSource runat="server" ID="GroupesDataSource" DataFile="~/App_Data/bdd.mdb" 
  SelectCommand="SELECT * FROM [groupes]"
</asp:AccessDataSource> 
<asp:AccessDataSource runat="server" ID="StudiosDataSource" DataFile="~/App_Data/bdd.mdb" 
  SelectCommand="SELECT * FROM [studios] ORDER BY [Ordre]"></asp:AccessDataSource> 
<asp:AccessDataSource runat="server" ID="ForfaitsDataSource" DataFile="~/App_Data/bdd.mdb" 
  SelectCommand="SELECT [comptes_groupes_id], [id_groupe], [id_tarif], [nb_heures_restantes], [Studio]&', '& [duree]&'h, Backline : '&[comptes_groupes].[backline]&' , '& [nb_heures_restantes]&'h restante(s)' as [FormuleComplete]  from [comptes_groupes], [tarifs_studios], [studios] where [id_tarif] = [tarifs_studios_id] and [studios].[id] = [id_studio]"
 <SelectParameters> 
   (ControlParameter here ?) 
 </SelectParameters> 
</asp:AccessDataSource> 




I want, when the id_groupe is changed, the ForfaitsDataSource filter the SQL request (in the ForfaitsDataSource SelectCommand : "(...) AND id_groupe = (id_groupe selected in the control)" )

Any ideas ?

Thanks in advance :)
Peter
Telerik team
 answered on 22 Jul 2009
1 answer
927 views
Hello Telerik,

We have a rad grid control on a page. When the large amount of data is to be displayed, following error is thrown:

Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

Please provide the solution for this as soon as possible.

Thanks
Mira
Telerik team
 answered on 22 Jul 2009
6 answers
152 views
Hi,

My scenario has two types, 'Type2' and 'Type3', that extends from 'Type1'. I'm trying to set a 'Type1' list with 'Type2' and 'Type3' objects as a DataSource to grid and i'm getting the following exception message:

"Unable to cast object of type 'Type2' to type 'Type3'."

Is this a bug or i missed something ?

Thanks.
Josemi
TriZetto
Top achievements
Rank 1
 answered on 22 Jul 2009
0 answers
59 views
Hi Telerik Team,

We are having css issue with MS Internet Explorer 6.0 SP1 +. In this Browser, there is a background image visible on tab.
Similarly, We have defined our own skin for RadPanelBar that is working fine with other browsers but it's showing border color of different color.

Please suggest how to resolve the aforementioned issue.

Thanks,
Rajesh Shah
Taran
Top achievements
Rank 1
 asked on 22 Jul 2009
3 answers
101 views
Hi,

I have a masterpage application.
On the masterpage I have 2 asp:Label controls.
In codebehind (page load) I set them to a session variable.
So if in a contentpage is something to tell on the master - I just set that session variable.

Now my problem - when I work with ajax manager I thought that this would be the right setting:
<telerik:RadAjaxManager ID="ramManager" runat="server" DefaultLoadingPanelID="alpPan1" UpdatePanelsRenderMode="Inline" RequestQueueSize="6">  
    <AjaxSettings> 
        <telerik:AjaxSetting AjaxControlID="ramManager">  
            <UpdatedControls> 
            <telerik:AjaxUpdatedControl ControlID="lblOne" /> 
            <telerik:AjaxUpdatedControl ControlID="lblTwo" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
    </AjaxSettings> 
</telerik:RadAjaxManager> 
 
But this results in a "the controls collection can't be changed..." error.
I have nothing on my content page so the code above produces this problem.

Any idea how I can achive this?
This == two labels displaying information (from session state) on the masterpage

Regards

Manfred
Iana Tsolova
Telerik team
 answered on 22 Jul 2009
13 answers
282 views
Hi,

With my problem of CommandButton in node loaded serverside with a callback, I had to code a HierarchicalDataSource.

But the problem is that page load time is very long since the treeview loads all nodes. I have about 10000 nodes, it take 5s to load (localhost) but long long time to execute javascript onload codes. Maybe caused by RadFormDecorator...

Anyway, is there a way to improve RadTreeView working with HierarchicalDataSource to have nodes populated on-demand, with serverside callbacks, and with rendered template controls persistance for event handling ?
It can let users add their own UserControls to a node, thus allowing non-common usages of a treeview...

Thanks.
Atanas Korchev
Telerik team
 answered on 22 Jul 2009
2 answers
90 views
How do you center the records in the RadGrid control?  It appears that all of the record information is aligned to the left but I want it to be center aligned.  How do I do that?  Thanks!
Brett
Top achievements
Rank 1
 answered on 22 Jul 2009
1 answer
55 views
iHi
I Have a  hierarchical grid.

I have data in the hierarchical grid.
I have added some itemtemplates.

Now problem is that i am not able to fetch data from the detail table and masterdetail table from a button which is the outside of the grid.

I want to access the   hierarichal grid  data from a buton click which is outside the grid.

Please help me ASAP

Thanks
Princy
Top achievements
Rank 2
 answered on 22 Jul 2009
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?