Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
72 views
   
head:
<script>
    function onloadClient()
    {
           var tabstrip = $find("<%= RadTabStrip1.ClientID %>");
          var multiPage = $find("<%=RadMultiPage1.ClientID %>");
    }
</script>


body:
<telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage1" skin="Outlook" CssClass="NoBg" OnClientLoad = "onloadClient">
        </telerik:RadTabStrip> 

<telerik:RadMultiPage id="RadMultiPage1" runat="server" SelectedIndex="0" Width="400" >
        </telerik:RadMultiPage> 
    



How come tabstrip has value while multiPage has not?

is there OnClientLoad for both radtabstrip and radmultipage??
Shinu
Top achievements
Rank 2
 answered on 30 Jun 2010
1 answer
68 views
Hi Team,
we are using Telerik Editor version 2008.1.619.35 in one for our application, which creates an issue while rendering the page inside FireFox( MAC OS)  it renders all HTML tags inside the editor..

for Ex. if write something like Test Example then after save it re-load the values inside Editor with all HTML formated tags and syntext..

<boxy.content>
<b> Test Example </b>
</body.content>

Can you please help us here?
Rumen
Telerik team
 answered on 30 Jun 2010
6 answers
146 views
I am using a RadTreeView on a page and it works well until I add code to the <asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">.

Then, in ie8/ie7 the tree is just a bulleted list. When I remove the code from the PlaceHolderAdditionalPageHead, the RadTreeView works again.

In firefox and safari, I do not see this issue.

I noticed that in the ie8 dev tools, the WebResource.axd for .RadTreeView is not loading.

Thanks,

Ted
Nikolay Tsenkov
Telerik team
 answered on 30 Jun 2010
1 answer
95 views
Hi all,
  I have a webapplication that looks ok, when hosted on IIS5, IIS6 and internal webserver in VS2008.
But when hosted on IIS7 it renders diffrently, control placement is diffrent and asp:button isn't visible until mouse over.
I'm using Windows7 skin and FormDecorator.
I'm using version 2010.1.309.35.

Yours
   Bjössi
Georgi Tunev
Telerik team
 answered on 30 Jun 2010
1 answer
96 views
Hi

I feel this must be simple, but I haven't fixed it...

I have a page with a flash file(swf). (It is a map from Fusion Maps).

When a map element is clicked I am opening a RadWindow using javascript and passing a parameter.
Content comes from a database.

Everything works fine except that the part of the window that overlaps the map is in the layer below
the map instead of floating above it. I tried setting z-index="99000" as a window parameter but to no avail.

The flash map does not have an explicit z-index set.

Can you help me?

Thanks

Clive
Svetlina Anati
Telerik team
 answered on 30 Jun 2010
1 answer
144 views
Hi,

I've added a RadComboBox in the FilterTemplate of a RadGrid.

<FilterTemplate> 
    <telerik:RadComboBox  
        ID="filterNationalities"  
        DataSourceID="dbNationalities"  
        DataValueField="ID"  
        DataTextField="description"  
        AutoPostBack="false"  
        runat="server" 
        AppendDataBoundItems="true" 
        SelectedValue='<%#((GridItem)Container).OwnerTableView.GetColumn("NationalityID").CurrentFilterValue %>' 
                               OnClientSelectedIndexChanged="FilterByNationality"  
                                            OnItemCreated="TranslateNationalities" 
         Width="75" 
         ZIndex="10000000"
             <Items> 
                 <telerik:RadComboBoxItem /> 
             </Items> 
</telerik:RadComboBox> 
                                             
                                            <telerik:RadScriptBlock  ID="scriptFilterNationality"  runat="server"
                                                <script type="text/javascript"
                                                    function FilterByNationality(sender, args) { 
                                                        var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>"); 
                                                        tableView.filter("NationalityID", args.get_item().get_value(), "EqualTo"); 
                                                    } 
                                                </script> 
                                            </telerik:RadScriptBlock> 
                                        </FilterTemplate> 

This RadCombobox is bound to a <asp:SqlDataSource ID="dbNationalities" runat="server" />.
Everything works fine but I want to translate the items of the RadCombobox.
I'm using OnItemCreated:

protected void TranslateNationalities( object sender, RadComboBoxItemEventArgs e ) { 
        RadComboBoxItem dataItem = e.Item; 
        dataItem.Text = "translate text"
 

But this doesn't work. Can I change the text of the items if this is bind to a datasource?
Thanks!
Shinu
Top achievements
Rank 2
 answered on 30 Jun 2010
7 answers
246 views


<telerik:GridTemplateColumn DataField="City" HeaderText="City" UniqueName="City">  
<EditItemTemplate> 
<telerik:RadComboBox ID="CB_City"  AppendDataBoundItems="true" Height="100px" runat="server" Skin="Black" 
DataTextField="CityName" DataValueField="CityName" DataSourceID="SqlDataSourceCity"  
SelectedValue='<%# Bind("City")%>' AutoPostBack="true">  
</telerik:RadComboBox> 
</EditItemTemplate> 
<ItemTemplate> 
<%# Eval("City")%> 
</ItemTemplate> 
</telerik:GridTemplateColumn>

		
<
asp:SqlDataSource
ID
="SqlDataSourceTown"
runat="server"
ConnectionString="<%$ ConnectionStrings:connectionString %>"
ProviderName
="System.Data.SqlClient"
SelectCommand
="sp_town_list"
SelectCommandType="StoredProcedure">
<SelectParameters>
     <asp:ControlParameter   
ControlID="??????????????????"     <<<<<<<< CB_City ControlID Doesnt work :((
DefaultValue="New York"   
Name="CityName" 
PropertyName="SelectedValue"   
Type="String" />
</SelectParameters>




kerim
Top achievements
Rank 1
 answered on 30 Jun 2010
2 answers
194 views

Hi All,

I have used telerik tree view control in my code to select users as info and to field.

<telerik:RadTreeView ID="tvToDirectorate" runat="server" CheckChildNodes="True" OnNodeClick="tvToDirectorate_NodeClick"

                    OnDataBinding="tvToDirectorate_DataBinding" OnNodeDataBound="tvToDirectorate_NodeDataBound1"

                    DataFieldParentID="lParentID" DataTextField="sDisplayName" DataValueField="lValueID"

                    DataFieldID="lValueID" OnNodeExpand="tvToDirectorate_NodeExpand" >

<NodeTemplate>

<table cellpadding="0" cellspacing="0" width="100%" align="right">

<tr>

<td style="width: 50%">

      <asp:CheckBox ID="rdTo" name='<%# Container.Value %>' runat="server" GroupName="toinfo" Visible="true" />

      </td>

      <td style="width: 50%">

      <asp:CheckBox ID="rdInfo" name='<%# Container.Value %>' runat="server" GroupName="toinfo" Visible="true"/>

       </td>

       </tr>

</table>

</NodeTemplate>

</telerik:RadTreeView>

The checkboxes are dynamically creating name with different IDs. Now I want following.

1.       I want to access name in JavaScript so that I would be able to select one checkbox as “Info” or “To”. Currently at a time both can be selected but that’s not good.

2.       Secondly if I am using radio button that is a good choice. But I want to deselect when double click radio button. And I cannot be able to access the radio button on run time.

On main window I am using telerik grid control where using

<EditFormSettings EditFormType="WebUserControl" PopUpSettings-Modal="true" PopUpSettings-Width="800px" UserControlName="~/UserControls/ucMailRecipient.ascx">

<PopUpSettings Modal="True" Width="800px" />

</EditFormSettings>

When click on “Add Recipients” popup window with “Modal=True” open where we selects the users.

We cannot use “document.getElementById("rdTo").checked;” since its dynamically creating.

And may be name should like “$ctl_TreeView_”  etc may be.

Please if anybody helps to tackle this problem. Many thanks for your help.

Thanks

Princy
Top achievements
Rank 2
 answered on 30 Jun 2010
1 answer
172 views
I have a RadGrid with paging property and GridClientSelectColumn.Checkbox selection is lost while moving on to the  next page in RadGrid.How can I solve this problem?Please help me. 
Pavlina
Telerik team
 answered on 30 Jun 2010
2 answers
120 views
This would be useful when working through a batch of items to keep track the last touched row item. I tried setting AllowRowSelect but that requires the user to click somewhere else on the row to change the style, and not on button nor links. Thanks for any help on this.
Princy
Top achievements
Rank 2
 answered on 30 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?