Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
239 views
Hey,

When I'm running my project on pc without internet connection telerik controls not working because the js files located on telerik website, is there a way to save this files locally.

Thanks.
Sebastian
Telerik team
 answered on 12 Jul 2011
1 answer
143 views
Hi

I have a radgrid of which I have made the EnableViewstate=false and added the OnNeedDatasource event. One column of the grid has delete buttons which is  image button. After disabling the view state the delete button is not working properly. The command argument and command name are not getting set properly. When the delete button is clicked its "OnCommand" event is fired but the command argument sets as empty there.

But it is set properly in the Onitemdatabound event. Under the same changes if i use linkbutton instead, it works fine. Please help.


Regards
Shirish 

Mira
Telerik team
 answered on 12 Jul 2011
1 answer
169 views
Hello,
I have a trivial problem, probably. Unfortunatelly I have no idea how to solve it. Bellow is my sample code to ilustrate the problem.
My TemplateColumn content (RadGrid2 control) has to have different functionality depends on Selectror column contents.
All ideas about what event of TemplateColumn or RadGrid2 (or others) i should use and how to get current Selector column/row value will be worm welcome. 
<telerik:RadTreeList ID="rtv" runat="server" DataSourceID="SqlDS" DataKeyNames="ID_ELEMENT" ParentDataKeyNames="ID_PARENT" DataMember="DefaultView" >
   <Columns>
      <telerik:TreeListBoundColumn DataField="Name" HeaderText="Name" UniqueName="columnName" ReadOnly="True">
      </telerik:TreeListBoundColumn>
      <telerik:TreeListBoundColumn DataField="SELECTOR" HeaderText="SELECTOR" ReadOnly="True" DataType="System.Int32" UniqueName="columnSELECTOR" Visible="False">
      </telerik:TreeListBoundColumn>
      <telerik:TreeListTemplateColumn UniqueName="Template" HeaderText="Template"
                DataField="ID_ELEMENT">
         <ItemTemplate>
            <telerik:RadGrid ID="RadGrid2" runat="server"  DataSourceID="SqlDS2">
               <MasterTableView DataSourceID="SqlDS2"></MasterTableView>
            </telerik:RadGrid>
         </ItemTemplate>
      </telerik:TreeListTemplateColumn>
   </Columns>
</telerik:RadTreeList>
 
<asp:SqlDataSource ID="SqlDS" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT_COMMAND" SelectCommandType="StoredProcedure">
</asp:SqlDataSource>
 
<asp:SqlDataSource ID="SqlDS2" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT_TEMPLATE" SelectCommandType="StoredProcedure">
   <SelectParameters>
      <asp:Parameter DefaultValue="0" Name="PARAM" Type="Int32" />
   </SelectParameters>
</asp:SqlDataSource>
Marin
Telerik team
 answered on 12 Jul 2011
3 answers
123 views
The double click event for the radsplitbar doesn't occurs when the spliter is in expanded mode..

but working fine when the spliter is in collapsed mode...

Give me some solution..
Dobromir
Telerik team
 answered on 12 Jul 2011
1 answer
135 views
Hello,

There are so many legends and need to display veticle instead of horizontal.

Legends should be on the right side of the chart.

What is the way to display legends at right and verticle ?

psa image for clear idea.
Evgenia
Telerik team
 answered on 12 Jul 2011
1 answer
93 views
Hi

I have a multi-select RadGrid.

I have supplied and ItemCommand handler in my server side code,
and it gets triggered when I click on a row.

I get the RowClick item command

However if I have focus on the grid and hold the shift key down
and then I hit the down or up arrows the Selection column
changes, but I don't get a server side ItemCommand triggered.

Is there some other event handler I need to hook into to handle
the shift key mechanism for multi-selecting?

TIA
Tsvetina
Telerik team
 answered on 12 Jul 2011
1 answer
134 views
Hi

I have looked at the example you have that describes how to mult-select items in a grid,
but apparently the Shift key mechanism doesn't trigger an Item_Command event.

Using the Ctrl key does, clicking on the row does, and clicking on the CheckBox in my selection column
ALL Trigger Item_Commands marked as RowClick.

Any help greatly appreciated. 
Tsvetina
Telerik team
 answered on 12 Jul 2011
4 answers
165 views
I have a radgrid which allows me to select multiple rows. I was wondering how I would get a column value from the selected rows and add them to an arraylist.

I have the following code behind for the radgrid already:

Protected Sub ToggleRowSelection(ByVal sender As Object, ByVal e As EventArgs)
        CType(CType(sender, CheckBox).NamingContainer, GridItem).Selected = CType(sender, CheckBox).Checked
    End Sub
 
    Protected Sub ToggleSelectedState(ByVal sender As Object, ByVal e As EventArgs)
        Dim headerCheckBox As CheckBox = CType(sender, CheckBox)
        For Each dataItem As GridDataItem In RequestFiles.MasterTableView.Items
            CType(dataItem.FindControl("CheckBox1"), CheckBox).Checked = headerCheckBox.Checked
            dataItem.Selected = headerCheckBox.Checked
        Next
    End Sub
 
    Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As EventArgs) Handles RequestFiles.PreRender
        lblCountRecords.Text = String.Format("<strong>{0}</strong>", RequestFiles.SelectedItems.Count)
    End Sub

So I want to get the value from column 2 and display as - 001, 002, 004, 005, 007.

This then needs to go into an email.

Something like. The files you requested were: 001, 002, 004, 005, 007
Vasil
Telerik team
 answered on 12 Jul 2011
1 answer
140 views
Hi,

I am using Multicolumn combobox in Grid. Now i have requirement where i have to show combobox in those Multicolumn of combobox. To better understand my scenario please see the attached screenshot.
I am able to bind simple Text (http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/comboingrid/defaultcs.aspx?product=combobox) in Column of the Mulicolumn combobox but unable to bind combobox under MultipleColumn combobx in EditTemplate. Can anyone tell me how to do that ?

Thanks,
--Jai
Mira
Telerik team
 answered on 12 Jul 2011
1 answer
80 views
Hi,

I am having an issue with the position of the bar labels. Even though i set the label orientation to "outside", the first of the below screen shot have the label within the label. How can i have the label right over the bar (first bar), and make it look like the label on the second bar? I don't want to set the autoscale=false. is there a way to do it without playing with the autoscale? I am currently using the Telerik Q1 2011 version.

Thank you.
Jacob
Top achievements
Rank 1
 answered on 12 Jul 2011
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?