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

How do I create a ToggleStates collection for a dynamic created ToggleButton?

I want these 2  comined from codebehind:

        Dim radButton1 As New RadButton()
        radButton1.ButtonType = RadButtonType.ToggleButton
        radButton1.ToggleType = ButtonToggleType.CheckBox
        radButton1.AutoPostback = False
        
        '<ToggleStates>
                        '<telerik:RadButtonToggleState ImageUrl="img/play/play.png" HoveredImageUrl="img/play/playHov.png"
                           'Text="Play" Selected="true" />
                        '<telerik:RadButtonToggleState ImageUrl="img/play/pause.png" HoveredImageUrl="img/play/pauseHov.png"
                            'Text="Pause" />
                    '</ToggleStates>

Thanks,
Marc
Kevin
Top achievements
Rank 2
 answered on 05 Mar 2012
8 answers
368 views
Hi,

I have a radgrid with some columns, In the code-behind i want to add another header on top of the existing header with column spans.
Where should i add this functionality, in prerender or itemcreated?
How to add the desired header.

Thanks
Babu
Veli
Telerik team
 answered on 05 Mar 2012
3 answers
255 views

I have a radgrid with <Selecting AllowRowSelect="True" />. the radgrid is inside a radwindow. The radwindow contain a two buttons ("Select" and "Cancel") other than this radgrid. What we do is select a row in the radgrid and either click "Select" or "Cancel" button. Am sharing my radwindow here...

 

<div class="RadModalMainDiv">
    <div>
          <p> Help text to go here....</p>
       </div>
        <div class="divStandardTextButtonList">
       <asp:Button ID="btnObservationsTextSelect" runat="server" Text="Select" CssClass="btnStandardText"
                                                            OnClientClick="return ObservationStandardText_Confirm()" />
        <asp:Button ID="btnObservationsTextCancel" runat="server" Text="Cancel" CssClass="btnStandardText" />
        </div>
         <asp:Panel ID="pnl1" runat="server">
              <div>
                    <telerik:RadGrid ID="radGdObservationsText" runat="server" AllowPaging="True" AllowSorting="False"
                                                                AutoGenerateColumns="False" EnableEmbeddedSkins="false" GridLines="None" PageSize="10" Width="100%">
                            <MasterTableView CommandItemDisplay="None" Name="ParentGrid">
                                 <Columns>
                                            <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn">
                                              <HeaderStyle HorizontalAlign="Center" Width="23px" />
                                               </telerik:GridClientSelectColumn>
                                                <telerik:GridBoundColumn DataField="description" HeaderText="Observation description"
                                                   Visible="true">
                                                 </telerik:GridBoundColumn>
                                  </Columns>
                             </MasterTableView>
                             <PagerStyle Mode="NextPrevAndNumeric" />
                              <ClientSettings>
                                   <Selecting AllowRowSelect="True" />
                                    <ClientEvents OnRowSelected="SetObservationStandardText" OnRowDeselected="SetObservationStandardText" />
                                   </ClientSettings>
                </telerik:RadGrid>
    </div>
     </asp:Panel>
</div>

 

My issue is when i select a row from the radgrid, click 'select/cancel' the reopens the radwindow, the row in the radgrid remains selected. I need to de-select all the rows while reopening the radwindow. Binding of the grid is done in server side in the radGdObservationsText_NeedDataSource event. Can this be invoked using javascript? Or can you suggest any client side event of radgrid where i can de-select the rows?
Thanks for all help in prior.

 

 


Casey
Top achievements
Rank 1
 answered on 05 Mar 2012
1 answer
143 views
Is it possible to set the Indeterminate state of the node from the client side, when the TriStateCheckBoxes=false. I tried setting it using the solution provided in the below link : 

http://www.telerik.com/community/forums/aspnet-ajax/treeview/setting-indeterminate-check-state-on-client-side.aspx 

but it works only when we set the TriStateCheckBoxes=true.
Is this a limitation or there is any workaround.

Regards,
Mirang
Kevin
Top achievements
Rank 2
 answered on 05 Mar 2012
6 answers
152 views
hello once again to all expert on telerik,

                       Good day! i would like to ask again for help on configuring the radgrid with a radcombobox on a specific columns on my grid coz i wont be able to put a radcombo inside it, and how can i load the data on that combobox inside the so the user can select and also how can i get the selected value of the radcombo inside the grid please help

sample codes is highly appreciated

thanks to all
asilioni
Top achievements
Rank 1
 answered on 05 Mar 2012
3 answers
150 views
Hello,

I am using RadFileExplorer and I attached a NodeDataBound to its RadTreeView. Let's say I have a root directory and multiple children nodes, my problem is that the event only is triggered for the root node. Is it a normal behavior? This event should not be triggered for all children nodes? I also noticed that when the event triggers for the root node, the node coming in the event has no children.

I am using a Custom content provider and I want to be able to change tree icon using image url and not css. How can I achieve that?


Thanks in advance,
Michael Pinheiro


Dobromir
Telerik team
 answered on 05 Mar 2012
3 answers
109 views
Hi,

I've implemented your sample DBContentProvider so I can store the files and directories in a database. However, I am having issues displaying the directory structure from the database and adding a new directory.

The first three rows are what I've manually set the database to contain
ItemID name ParentID MimeType IsDirectory Size Content
1 ROOT NULL NULL 1 NULL NULL
2 images 1 NULL 1 NULL NULL
3 flowers 2 NULL 1 NULL NULL
6 NewFolder -1  1 0 

How do I get the file explorer to display the first 3 rows of the table above? I've set the following but all it displays is "ROOT/":
RadEditor1.ImageManager.ViewPaths = New String() {"ROOT/"}

Also, when I try and add a new folder, it does, but it does it as it appears on the fourth row of my sample database above. Is that connected to my first issue?

Thanks
Tim Metcalfe
Dobromir
Telerik team
 answered on 05 Mar 2012
4 answers
206 views
I want the same property behavious set to false but On NOT Focus. If I have 100 it will show 100.00 on no focus and 100 on focus... I want 100 on both. Is that possible? But I want to show the 2 digits if it's not .00

Thanks
Vasil
Telerik team
 answered on 05 Mar 2012
5 answers
117 views
Hi everyone,

The MS Outlook Calendar (day view) contains functionality where if the duration of an appointment is less than the minutes per row a little hook or protusion appears at the top left of the appointment.

Has this functionality been implemented within the rad scheduler? I've been asked to implement it as part of my scheduler's functionality, and don't know if it is possible.

Many Thanks

Mark
Plamen
Telerik team
 answered on 05 Mar 2012
1 answer
130 views
I installed the 2012_1_CTP of the SAK and attempted to activate the RadGrid in a site collection.  I got a file not found error on the ".dwp" web part file.  After inspecting the Elements.xml file in the folder containing the web part, I discovered the path was not specified properly. I removed the erroneous "RadGridSharePoint" directory level from the Path attribute.

Does not work:
  <Module Name="TelerikSPRadGridWebPart" List="113" Url="_catalogs/wp">
    <File Path="RadGridSharePoint\TelerikSPRadGridWebPart\TelerikSPRadGridWebPart.dwp" Url="TelerikSPRadGridWebPart.dwp" Type="GhostableInLibrary">
      <Property Name="Group" Value="Telerik" />
    </File>   
  </Module>
</Elements>

Works:
  <Module Name="TelerikSPRadGridWebPart" List="113" Url="_catalogs/wp">
    <File Path="TelerikSPRadGridWebPart\TelerikSPRadGridWebPart.dwp" Url="TelerikSPRadGridWebPart.dwp" Type="GhostableInLibrary">
      <Property Name="Group" Value="Telerik" />
    </File>   
  </Module>
</Elements>

This allowed me to properly activate the SPRadGrid web part.
Tsvetoslav
Telerik team
 answered on 05 Mar 2012
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?