Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
137 views
how to insert ,update and delete Appointments in RadScheduler from my database.
Shinu
Top achievements
Rank 2
 answered on 08 Dec 2011
2 answers
87 views
Hi,
I am referring to this page. In this demo page, the top grid contains various columns. One of the columns is contact details which is created using telerik:GridTemplateColumn. I would like to know how can we create such columns problematically? I know how can we create column with single data item. But in this case its split view which I want to achieve.

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx
abhijeet
Top achievements
Rank 1
 answered on 08 Dec 2011
3 answers
154 views
I am having a difficult time (it's been two days already) trying to prevent the display of a loading panel when a nested control triggers an async/ajax event.

In my situation I have an ASP:Panel that is Ajaxified via adding a declarative AjaxSetting on a page and the loading panel is specified.  This is because normally I want the loading panel to display for anything that updates in the panel, like the markup below:

<telerik:AjaxSetting AjaxControlID="ProblematicArea">
                   <UpdatedControls>
                       <telerik:AjaxUpdatedControl ControlID="ProblematicArea" LoadingPanelID="LoadingPanel" />
                   </UpdatedControls>
</telerik:AjaxSetting>

This is what the panel looks like when defined.
<asp:Panel ID="ProblematicArea" runat="server" >
     <asp:PlaceHolder Runat="server" ID="DynamicControls"></asp:PlaceHolder>
</asp:Panel>


I am adding dynamic controls, user controls, when the page loads to the "DynamicControls" placeholder.  Normally when one of these dynamically added user controls has a drop down or another control, this works great because if I auto-postback the dropdown it gets included in the events that trigger that loading panel.

However, I have a situation where there is a particular button in a particular user control that I do not want it to trigger the appearance of the loading panel when a user clicks the button, because the button has JavaScript to trigger another screen/UI blocking function while a server-side process is running instead of the loading panel (which does not block all controls on the screen normally).  The situation as it stands is that both the ajax loading panel and this other screen/ui blocking (the second one blocks the entire screen and has a different look and feel) load and it's very confusing to the user/redundant.

It is not that I want to remove the AjaxUpdateControl entry for the "ProblematicArea" it's that I do not want the loading panel to display in a particular case and for all other cases I want it to display.
jgill
Top achievements
Rank 1
 answered on 08 Dec 2011
1 answer
107 views
We are using the Office2010Black skin and the tree view on a white background -- and the opening and closing branch icons don't show up well.  Is there an easy way to use just the open/closing icon from another skin?  or custom icons?  At this point we don't want to change the background color.

Thanks,
Todd.
Princy
Top achievements
Rank 2
 answered on 08 Dec 2011
5 answers
157 views
Hi,
I am using "Transfer to multiple RadListBoxes using Drag and Drop" feature. I got a jQuery function from Telerik team for this.

After implementing this i am not able to get the transfered listbox item either in client side or in serverside.

How can i get the selected/checked items from any of the listboxes?
Rakesh
Top achievements
Rank 1
 answered on 08 Dec 2011
4 answers
448 views
My query string in the window.open is not working correctly,
but my real issue is being able to grab the first column's cell value
when someone clicks in a cell on the grid.  So var SITE wouldn't be hard coded, it would get the value
on the client side to pass to the window.open..
I found an example from 2008 on the site, but I can't get it to work
even if I completly replace my code with it.  Any help is appreciated.

<script type=
"text/javascript" >
      function RowClick(sender, args)
      {
          var grid = sender;
          var MasterTable = sender.get_masterTableView();
          var cellindex = args.get_domEvent().target.cellIndex
          var DOS = MasterTable.get_columns()[cellindex].get_uniqueName();
          var SITE = "140006"
          window.open("'Detail.aspx?1=" & DOS & "&2=" & SITE & "',newwindow","toolbar=no,location=no,menubar=no,width=300,height=300,resizable=no,scrollbars=no,top=200,left=250");return false;
      }
   </script>
Princy
Top achievements
Rank 2
 answered on 08 Dec 2011
1 answer
125 views
I have one webform.  I would like to know if its possible to place part of a webform in a radwindow popup.  So just say I have a panel with controls in it.  Can I display the panel in a radwindow.

Princy
Top achievements
Rank 2
 answered on 08 Dec 2011
3 answers
154 views
I need to get the column header and the cell value of the row header (hidden column 0 cell text) for when someone clicks on the grid.

The examples I can find for this just don't work, maybe they are for the old radgrid and not for the new AJAX grid? 
I will do it client or server side.

When i try to do it server side I fail to get the column name and when I try to do it client side I can't get the hidden(visible = false) column(0)'s value for that row.
Any help is appreciated, I have been strugling with this for days.


Shinu
Top achievements
Rank 2
 answered on 08 Dec 2011
1 answer
127 views
I can't seem to get my old code for adding a literal to the new grid control I updated yesterday (in my case a message that customer 123 was deleted when done so). Is there a different way or something I'm missing? Here's the code:
Private Sub DisplayMessage(text As String)
        grdList.Controls.AddAt(0, New LiteralControl(String.Format("<span style='color:red'>{0}</span>", text)))
    End Sub

Thanks for any help in advanced!
Shinu
Top achievements
Rank 2
 answered on 08 Dec 2011
1 answer
83 views
Hi,

I'm currently trying to create an example page using the RadGrid control.  I'm basing the demo on your own here, the only difference being that I'm only using a single detail level, instead of two.  Unfortunately though, I can't seem to get and detail rows to show up at all! When I click to expand the row, I get the column headings but no actual data.  The mark-up I'm using is as follows:

<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" DataSourceID="SqlDataSource1" GridLines="None" AutoGenerateColumns="False">
    <MasterTableView DataSourceID="SqlDataSource1" DataKeyNames="JOB_ID" HierarchyLoadMode="ServerBind" AutoGenerateColumns="false">
        <DetailTables>
            <telerik:GridTableView DataSourceID="SqlDataSource2" Width="100%" runat="server" HierarchyLoadMode="ServerBind" AutoGenerateColumns="false">
                <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="JOB_ID" MasterKeyField="JOB_ID" />
                </ParentTableRelation>
                <Columns>
                    <telerik:GridBoundColumn SortExpression="SET_TIME" HeaderText="SET_TIME" HeaderButtonType="TextButton" DataField="SET_TIME" UniqueName="SET_TIME" />
                    <telerik:GridBoundColumn SortExpression="NODE_NAME" HeaderText="NODE_NAME" HeaderButtonType="TextButton" DataField="NODE_NAME" UniqueName="NODE_NAME" />
                </Columns>
            </telerik:GridTableView>
        </DetailTables>
        <Columns>                    
            <telerik:GridBoundColumn SortExpression="JOB_ID" HeaderText="JOB_ID" HeaderButtonType="TextButton" DataField="JOB_ID" UniqueName="JOB_ID" />
            <telerik:GridBoundColumn SortExpression="PROCESS_NAME" HeaderText="PROCESS_NAME" HeaderButtonType="TextButton" DataField="PROCESS_NAME" UniqueName="PROCESS_NAME" />                    
        </Columns>
    </MasterTableView>            
</telerik:RadGrid>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyConnectionString %>"
    SelectCommand="SELECT [JOB_ID], [PROCESS_NAME] FROM [JOB]">
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:MyConnectionString %>"
    SelectCommand="SELECT [SET_TIME], [NODE_NAME] FROM [JOB_HISTORY] WHERE ([JOB_ID] = @JOB_ID)">
    <SelectParameters>
        <asp:SessionParameter Name="JOB_ID" SessionField="JOB_ID" Type="Object" />
    </SelectParameters>
</asp:SqlDataSource>

Thanks for your help.
Princy
Top achievements
Rank 2
 answered on 08 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?