Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
191 views
Hello -

I have a RadGrid with a Master/Detail relationship.  For some detail table views, I would like to dynamically show or hide the "Add New Record' button *only* for that detail table view.  I'm not sure how to correctly do this, as every way I try seems to modify the CommandItemSettings for *every* detail table view (it will hide/remove the button for all detail tables).  I would like to be able to expand multiple items, where some detail table views show the "Add New Record" button, and some don't, depending on custom logic. 

I really hope this is possible!  

Thanks very much.
Abhishek
Top achievements
Rank 2
 answered on 06 Feb 2012
1 answer
84 views
hi

I have a tabel with RoomID, RoomNo and RoomDescription Field.

When i use Resource Type in the property of the RadScheduler, i can only choose one.
 
I would like to show RoomNo and RoomDescription concatenated in the resource grouping when display, whether it is horizntally or vertically.

My Insert, update parameter for the scheduler is RoomID.

How should i go about it? Thanks a lot.
Shinu
Top achievements
Rank 2
 answered on 06 Feb 2012
3 answers
94 views
We would like to know if it is possible to decrease the linecontaining the filter housings in RadGrid, if so how? Help 
Shinu
Top achievements
Rank 2
 answered on 06 Feb 2012
1 answer
186 views
Hi.

I have a masterpage where I don't want a content page to scroll. It has the following style:
html, body, form 
{
    height:100%;
    margin:0;
    padding:0;
    overflow: auto
    overflow-x: hidden
    overflow-y: hidden
    font: normal 12px/1.5em "Segoe UI", Arial, sans-serif;
}

My content page then has a radwindow manager within it which opens a popup.   The problem is I need the popup to be able to scroll verically, but because my masterpage has scrolling hidden it doesn't show.  I have tried changing the style in the content page but scrolling does not appear? Any help would be appreciated.
Princy
Top achievements
Rank 2
 answered on 06 Feb 2012
2 answers
244 views
Hi,

I am binding data to RadGrid. While debugging I can see data available in datatable I am binding it to. I can see the corrent no. of rows displayed but all text is missing. pls help me..

Here is my grid design...

<telerik:RadGrid ID="grdShipments" Skin="Office2007" runat="server" GridLines="None"

AllowPaging="True" PageSize="10" AllowSorting="True" AutoGenerateColumns="False"

ShowStatusBar="true" AllowFilteringByColumn="true">

<MasterTableView CommandItemDisplay="Top" DataKeyNames="LoadID" EnableNoRecordsTemplate="true" ShowHeader="true" ShowHeadersWhenNoRecords="true" >

 

 

<Columns>

<telerik:GridTemplateColumn UniqueName="ShipDate" HeaderText="Ship Date" Visible="true">

<ItemTemplate>

<asp:Label ID="lblShipperCode" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Ship Date")%>'></asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

<telerik:GridBoundColumn DataField="ShipDate" HeaderText="Ship Date" UniqueName="ShipDate"

AllowFiltering="true">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Shipper" HeaderText="Shipper" UniqueName="Shipper"

AllowFiltering="true">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Consignee" HeaderText="Consignee" UniqueName="Consignee"

AllowFiltering="true">

</telerik:GridBoundColumn>

</Columns>

</MasterTableView>

</telerik:RadGrid>


Shinu
Top achievements
Rank 2
 answered on 06 Feb 2012
1 answer
59 views
Hi, I am working with the 2010.3.1317.35 version of telerik.
This versions loses the file selected after postback, and I need to make it persistent, and I know the latest version supports it.

Is there any way to upgrade only a single control ? the upload one ? If we upgrade all the controls, we have to retest all the pages.

Thanks
Princy
Top achievements
Rank 2
 answered on 06 Feb 2012
2 answers
121 views
I want to conditionally bind the images in telerik:template column but the cs code for it never gets executed 

<telerik:GridTemplateColumn  ItemStyle-Width="40px" ItemStyle-Font-Names="Arial" ItemStyle-Font-Bold="true">
    <ItemTemplate>
     
  <asp:ImageButton ID="vote_up" runat="server"  CommandName="up" />
  <br />
  <%#Eval("likes") %>
  <br />
  <asp:ImageButton ID="vote_down" runat="server"   CommandName="down" />
    </ItemTemplate>
    </telerik:GridTemplateColumn>

the Cs code is 

protected void answer_grid_ItemDataBound(object sender, GridItemEventArgs e)
    {
        if (e.Item is GridTemplateColumn)
        {
            GridDataItem item = e.Item as GridDataItem;
            ImageButton up_url = item.FindControl("vote_up") as ImageButton;
            ImageButton down_url = item.FindControl("vote_down") as ImageButton;
            if (Eval("expr1").ToString().Equals(cur_mem_id))
            {
                if (Eval("liked").ToString().Equals("TRUE"))
                    up_url.ImageUrl = "~/images/up_no";
            }
            else up_url.ImageUrl = "~/images/up_logo.png";
 
            if (Eval("expr1").ToString().Equals(cur_mem_id))
            {
                if (Eval("liked").ToString().Equals("FALSE"))
                    down_url.ImageUrl = "~/images/down_no.png";
            }
            else down_url.ImageUrl = "~/images/down_logo.png";
 
 
        }
    }
the code in If block never gets executed 
Shinu
Top achievements
Rank 2
 answered on 06 Feb 2012
4 answers
284 views
With the latest quarterly release of ASP.NET Ajax, Telerik dropped support for ASP.NET 2.0. We'd like to understand ahead of time what Telerik's plans are for continued support for IE6? We'd all love it if corporate users would finally ditch a 9-year-old browser, but users are users.... So, in short, when will Telerik stop supporting IE6 with their new releases?

Thanks,

- Mike Oliver
Craig
Top achievements
Rank 1
 answered on 05 Feb 2012
3 answers
146 views
Hi.
Im using the radajaxmanager.
Is there any way to scroll to anchor #posts after ajax ?

edit:
Code below is what im using to scroll to #posts
Is there any way to animate this scroll, to make it smoother ?

var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_endRequest(OnEndRequest);
function OnEndRequest(sender, args) {
    window.location.hash = '#posts';
}
Mattias Moberg
Top achievements
Rank 1
 answered on 05 Feb 2012
6 answers
90 views
Hi

I need to create an attendance sheet. I would like a user to click on a cell in the grid and the an Edit Popup Form should display containing the selected cells data. The user should be able to edit the cells details using the form and save it to the database. How can I do this?

Thank You
Fred

Fred Mare
Top achievements
Rank 1
 answered on 05 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?