Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
118 views
So here's the setup... I have working code for a RadDockLayout with dynamically added controls from database records using 2008.0.826.20. This scenario has the RadDockLayout setup in a UserControl which needs to be dynamically added to a PlaceHolder control already on the page. When I setup and test the Docking solution with the UserControl placed on the page everything works as expected and the OnLoadDockLayout and OnSaveDockLayout events fire as expected. However, simply adding a PlaceHolder to the page and loading the UserControl dynamically during Page_Load the OnLoadDockLayout event never fires and state is not persisted.

The following is the code used to load the UserControl during Page_Load

Control _ctrl = LoadControl("App_Templates/TemplateGeneralContentNEW.ascx");
_ctrl.ID = "Test";
phMod.Controls.Add(_ctrl);

Any assitance or insight into why this is happening and how to correct it is greatly appreciated.

Jason
Sophy
Telerik team
 answered on 23 Sep 2008
1 answer
155 views
When using GridClientSelectColumn is there a way to make some row(s) unselectable which results in hiding a checkbox in this column and ignoring selecting by row click?
Daniel
Telerik team
 answered on 23 Sep 2008
3 answers
151 views
Hoping to become a Telerik customer, but I can't get the live demos solution to build.  Have installed the live demo hot-fixes.  Running VS2008 and ASPX.NET 2.0

It is flagging up a section of the Web.Config and I don't know how to fix the error.  Can someone please help?

Section is:
-------------------------------------------------
<compilation debug="true">
   <codeSubDirectories>
    <add directoryName="Grid_VB"/>
   </codeSubDirectories>
   <assemblies>
  
at Grid_VB
-----------------------------------------------

Thanks

Barry

PS:  Is it me, or does Telerik pull VS2008 to its knees?
Todd Anglin
Top achievements
Rank 2
 answered on 23 Sep 2008
0 answers
133 views
Hi,
           Is it possible to bind one column for x axis value and another column for x axis label from the database and all i want to bind this only in the runtime.IF it is possible give me some sample codings.

Thanks,
Regards
Giri
Giri
Top achievements
Rank 1
 asked on 23 Sep 2008
5 answers
175 views
Hi,

I'm trying to follow the tutorial at http://demos.telerik.com/aspnet/Spell/Examples/Programming/AspHtml/DefaultCS.aspx to get spelling on standard HTML pages, however I can't seem to get a copy of the StartSpell.aspx file, can anyone paste the contents or let me know where I can find the example file?

Many thanks in advance
mitch
George
Telerik team
 answered on 23 Sep 2008
1 answer
72 views
Hello,

I have discovered the following bug:

- open the editor in full screen
- click the 'undo' button when it is greyed out (nothing to undo)
> the editor goes out of full screen mode into a sort of half screen mode

or:

- open the editor in full screen
- click the 'redo' button when it is greyed out (nothing to redo)
> the editor goes out of full screen mode into a sort of half screen mode
Rumen
Telerik team
 answered on 23 Sep 2008
2 answers
155 views
Hi

I'm currently iterating through the master table columns like this :

protected void RadGrid1_DataBound(object sender, EventArgs e) 
        { 
            foreach (Telerik.Web.UI.GridItem griditem in RadGrid1.MasterTableView.Items) 
            { 
                griditem.Cells[ColNumber].Text  
            } 
        } 

I'm doing this to change each seperate cell to a specific number format, and chopping off the time on date values.

How can I also iterate through the currently expanded detail tables' columns to do the same?


CBARS
Top achievements
Rank 2
 answered on 23 Sep 2008
3 answers
124 views
Hi all,

I have a RadGrid with diferent bound columns that represents one table of my DB and i use an user control to edit the registers and add new ones.

The problem is that one of the columns in the table has a rule and only accepts the values 'L' or 'O' (Local or Other) and when i charge the info on the grid, in that column it shows the value 'L' or 'O' and i want it to show 'Local' or 'Other'. So i decided to create an XML file that contains all the rules with their respective text and values

<?xml version="1.0" encoding="utf-8" ?> 
<root> 
    <tipoComprobante_CHK> 
        <Item Text="Local" Value="L" /> 
        <Item Text="Casa Matriz" Value="M" /> 
        <Item Text="Ambos" Value="A" /> 
    </tipoComprobante_CHK> 
    <OtherRule_CHK> 
        <Item Text="Local" Value="L" /> 
        <Item Text="Other" Value="O" /> 
    </OtherRule_CHK> 
</root> 
 


According to this i supossed that i need to change a BoundColumn for a telerik:DropDownColumn, but i dont know how to put the info of one rule (XML) in the new column and how to declare the value that the column need to shows.

<telerik:GridBoundColumn DataField="TipoComprobante" HeaderText="Tipo Comprobante" SortExpression="TipoComprobante" UniqueName="TipoComprobante" /> ...  works for the bound column               
 


Also in the User Control when i want to edit a register and it has a FK to other table i declare a RadCombo and get the selected value really simple:

<telerik:RadComboBox ID="rcbGrupo" runat="server" Height="190px" Width="420px"  
     MarkFirstMatch="true" DataSourceID="odsUsuarioGrupo" HighlightTemplatedItems="true"  
     DataTextField="Nombre" DataValueField="Id" NoWrap="True" Sort="Ascending"> 
     <HeaderTemplate> 
         <ul> 
             <li class="rcbColumn">Id</li> 
             <li class="rcbColumn">Nombre</li> 
         </ul> 
     </HeaderTemplate> 
     <ItemTemplate> 
         <ul> 
             <li class="rcbColumn"><%# DataBinder.Eval(Container.DataItem, "Id") %></li> 
             <li class="rcbColumn"><%# DataBinder.Eval(Container.DataItem, "Nombre") %></li> 
         </ul> 
     </ItemTemplate> 
     <CollapseAnimation Duration="100" Type="OutQuint" /> 
</telerik:RadComboBox> 


If is a new register the first item of the radComboBox is selected and for the edit mode the correct item is selected. But when a rule is in the column I'm creating a new DropDown and adding the items but i dont know how to get the correct value on edit mode, i dont have any 'databinder.eval.....' so always when the UC get oppened the first item get selected.

Please it is realle important and i hope you can help me with this

Regards,

Daniel Peralta







Daniel
Top achievements
Rank 1
 answered on 23 Sep 2008
1 answer
38 views
When there is a detail data the icon to expand/collapse appears on each master table row. If the  HierarchyLoadMode="ServerOnDemand" the click to expand data fires OnDetailTableDataBind event. What event is fired when clcik to collapse the detailed data?
Vlad
Telerik team
 answered on 23 Sep 2008
5 answers
394 views
I recently added a hotfix to ASP.NET AJAX controls (2008.1.619) to the bin folder of my app as described in 
http://www.telerik.com/support/kb/article/b454K-kad-b454T-a.aspx

How do i make my visual Studio toolbox use the new dll?

I manually replaced the files in the ProgRamFiles/Telerik/Bin folder and updated them in GAC.

The intellisense in my aspx page shows "'unrecognized tag prefix or device filter 'telerik' "

Please help
Nate
Top achievements
Rank 1
 answered on 23 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?