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

I have a rad window, in which I have a grid view whose data is bound on the itemdatabound event and a button .

On Click of the button, I have certain validations done and open another rad window on top of my first radwindow.

The second rad window has a label and a button on click of which it closes.

When the second rad window closes, I can see that the data in the grid view disappears and the message that I have in the <EmptyDataTemplate> of the gridview will be dispalyed in the first radwindow. Basically data binding is not happening.

This happens even when I have a repeaer control in my first radwindow.

How do I overcome this issue?

Thanks & Regards,
Shruthi N
Petio Petkov
Telerik team
 answered on 04 Jun 2010
1 answer
91 views
While using PhysicalFilePath, the Preview is not displaying the image
Dobromir
Telerik team
 answered on 04 Jun 2010
1 answer
122 views
I have used rad chart in my asp.net application. it is working just fine on my development machine, but after deployment on client machine...No chart is displayed. i have used the suggestion(relating to session and separate folder to save chart image) in other posts regarding this issue.
My problem is still not solved. m using 3.5 framework...Can you help me out regarding this issue.
Thanks
Vladimir Milev
Telerik team
 answered on 04 Jun 2010
2 answers
120 views
Doing clientside binding, and I just want my pager to be

Next | Previous

...if I set the template in the markup it posts back.

Whats the way to get this done?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 04 Jun 2010
2 answers
122 views
Hello Telerik team,

I have a problem with multiple RadGrids in separate PageViews of a RadTabStrip/RadMultiPage control set

Here is the setup and the problem follows:

1. I have a RadTabStrip and a RadMultiPage connected by the MultiPageID property.
2. This Tab is part of a table that is part of a Panel that is initially not displayed (style:display: none")
3. All of this is contained is an MS Update Panel
4. There are 10 tabs.
5. On 4 of the tabs, I have a RadGrid created on the PageView for each of the 4 tabs

*** HOWEVER** Since I am doing client-side data binding, these grids do *NOT* bind when the page first loads (IsPostback = false)

6. I have implemented the OnCommand client side event for each of the Grids (However, they do not seem to fire when the page renders)

The problem:

- The user selects a function and the client displays the hidden panel.
- The user selects one of the Tabs that has a grid
- The client code fires an ADO.Net data service that returns the data to the browsre
- The DataService callback cannot locate the MasterTables because they have not been rendered

Can you help me figure out why the master tables do not render on the initial page load?

HINT: If I load the page and then immediately do a full browser page refresh, the tables *WILL* render !?!?!?!?!?

Thanks
Bob

Bob
Top achievements
Rank 1
 answered on 04 Jun 2010
1 answer
114 views
Hi,

I open excel & word in radwindow and it is stopped by block popup. If that opens in normal window, no block popup message and the popup window closes by itself once excel or word document showing.  For radwindow, I have to operate 2 actions closing excel or word and radwindow.  May I have your suggestion to overcome?

Regards,

Duy
Fiko
Telerik team
 answered on 04 Jun 2010
3 answers
169 views
I am working with 3 ListViews on one page.  The first listview updates the second when an item is selected.  The second updates the third when an item in the second ListView is selected.

I would like the third listview to be hidden until an item has been selected from the second listview, however, I am getting an error with the Ajax manager that the panel for the third listview cannot be found.

I have tried it with "visible=false", "style=display:none", as well as not binding it until needed, all options cause errors with the RadAjaxmanager.

Can you please help me figure out the proper way to show/hide the listviews while still making them available for ajax updating??

Thank you!  Code below:

 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" > 
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="pGalleries">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="pGalleries" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
                <telerik:AjaxSetting AjaxControlID="pGalleryImages">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="pGalleryImages" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
              <telerik:AjaxSetting AjaxControlID="pImage">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="pImage" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManager> 
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Forest" InitialDelayTime="0">  
        </telerik:RadAjaxLoadingPanel> 
         
 
       <!-- GALLERY VIEW --> 
            <telerik:RadListView ID="lvGalleries" runat="server"  PageSize="2"  OnItemCommand="lvGalleries_ItemCommand" OnNeedDataSource="lvGalleries_NeedDataSource" 
            ItemPlaceholderID="PlaceHolder1" AllowPaging="true" DataKeyNames="gallery_id">  
            <LayoutTemplate> 
             <div style="float:left">  
                    <asp:Panel ID="pGalleries" runat="server">  
                            <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder> 
                         
                         <telerik:RadDataPager ID="RadDataPager1" runat="server" PageSize="2" Skin="Forest">  
                            <Fields> 
                                <telerik:RadDataPagerSliderField  /> 
                            </Fields> 
                        </telerik:RadDataPager> 
                    </asp:Panel> 
                </div> 
            </LayoutTemplate> 
            <ItemTemplate> 
                <div class="category" style="padding:5px;width:120px;">  
                  <asp:ImageButton ID="imgGallery" runat="server" AlternateText='<%# Eval("gallery_name") %>' 
                                    Width="120px" CommandName="Select" ImageUrl='<%# String.Format("~/images/2010/80s Party IV/thumbs/{0}",Eval("gallery_image")) %>' /> 
                                           </div> 
            </ItemTemplate> 
              
        </telerik:RadListView> 
        
 
       
 
    <!-- GALLERY IMAGES VIEW --> 
    <telerik:RadListView ID="lvGalleryImages" runat="server" DataKeyNames="gallery_image_id"  OnNeedDataSource="lvGalleryImages_NeedDataSource" OnItemCommand="lvGalleryImages_ItemCommand" ItemPlaceholderID="PlaceHolder2" AllowPaging="true" > 
            <LayoutTemplate> 
                <div class="sushibar">  
                    <asp:Panel ID="pGalleryImages" runat="server">  
                       <fieldset> 
                        <legend>Gallery Images</legend> 
                            <asp:PlaceHolder ID="PlaceHolder2" runat="server"></asp:PlaceHolder> 
                       </fieldset> 
                        <telerik:RadDataPager ID="RadDataPager2" runat="server" PageSize="6" Skin="Forest">  
                            <Fields> 
                                <telerik:RadDataPagerSliderField  /> 
                            </Fields> 
                        </telerik:RadDataPager> 
                    </asp:Panel> 
                </div> 
            </LayoutTemplate> 
            <ItemTemplate> 
                    <asp:ImageButton ID="GalleryImage" runat="server" AlternateText='<%# Eval("image_caption") %>' 
                        Width="120px" CommandName="Select" ImageUrl='<%# String.Format("~/images/2010/80s Party IV/thumbs/{0}",Eval("gallery_image")) %>' /> 
                 
            </ItemTemplate> 
            
        </telerik:RadListView> 
          
          
          
         <!-- SINGLE IMAGE VIEW --> 
       <telerik:RadListView ID="lvImage" runat="server"   OnNeedDataSource="lvImage_NeedDataSource" ItemPlaceholderID="PlaceHolder2" AllowPaging="true" > 
            <LayoutTemplate> 
                <div style="float:left">  
                    <asp:Panel ID="pImage" runat="server">  
                       <fieldset> 
                        <legend>Gallery Images</legend> 
                            <asp:PlaceHolder ID="PlaceHolder2" runat="server"></asp:PlaceHolder> 
                       </fieldset> 
                        <telerik:RadDataPager ID="RadDataPager2" runat="server" PageSize="1" Skin="Forest">  
                            <Fields> 
                                <telerik:RadDataPagerSliderField  /> 
                            </Fields> 
                        </telerik:RadDataPager> 
                    </asp:Panel> 
               </div> 
            </LayoutTemplate> 
            <ItemTemplate> 
                    <asp:ImageButton ID="GalleryImage" runat="server" AlternateText='<%# Eval("image_caption") %>' 
                        Width="500px" CommandName="Select" ImageUrl='<%# String.Format("~/images/2010/80s Party IV/slideshow/{0}",Eval("gallery_image")) %>' /> 
               <%# Eval("image_caption") %> 
            </ItemTemplate> 
            
        </telerik:RadListView> 
        
Rosen
Telerik team
 answered on 04 Jun 2010
2 answers
137 views
hi

I don't seem to be able to hide the Delete command based on certain condition? These are my code:

 <telerik:GridBoundColumn DataField="Invitation_Date" DataType="System.DateTime"
            HeaderText="Invitation Date" DataFormatString="{0:dd/MM/yyy}" SortExpression="Invitation_Date"
            UniqueName="Invitation_Date">
        </telerik:GridBoundColumn>
        <telerik:GridButtonColumn ButtonType="LinkButton" CommandName="Delete" ConfirmText="Are You Sure?"
            HeaderText="Delete" Text="Delete" UniqueName="DeleteColumn">
        </telerik:GridButtonColumn>

Protected Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound
        If TypeOf e.Item Is GridDataItem Then
            Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
            If item("Invitation_Date").Text Is Nothing Then
                Dim btn As LinkButton = DirectCast(item("DeleteColumn").Controls(0), LinkButton)
                btn.Visible = False
            End If
        End If

    End Sub

L
Top achievements
Rank 1
 answered on 04 Jun 2010
7 answers
334 views
Hi All,

We are using the telerik RadEditor (Editor for ASP.NET AJAX 2009_3_1314) using visual studio 2005. We are facing problem to set the tools's width property. It is not implementing in the IE8. We have a td which's width is 400px. Editor's tool width is displaying fine in the Firefox and Chrome, but when we browse it in IE8, it occuipy the more area of the td and cause the layout problem.
 
<telerik:RadEditor ID="tbDetails" runat="server" Width="400" ToolsWidth="400px" Height="500px" ToolbarMode="ShowOnFocus" >
                             
 </telerik:RadEditor>

Regards,

Sohail
Rumen
Telerik team
 answered on 04 Jun 2010
1 answer
56 views
HI,
I have added a new item to the dataitems array on client side but on postback I don't see it in the items collection. 
Any ideas how I can get this working?

 

function RebindGrid() {

 

 

var grid = $find(gsGridId);

 

 

var masterTableView = grid.get_masterTableView();

 

 

var dataItems = masterTableView.get_dataItems();

 

 

var item = dataItems[4];

 

Array.add(dataItems, item);

masterTableView.set_dataSource(dataItems);

masterTableView.dataBind();

}

Yavor
Telerik team
 answered on 04 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?