Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
199 views
Good day everyone.

Is there a way to create a baseline chart, like the attached image?

I managed to create a marked-zone chart, but we would like a single line instead of a painted area.

Thank you.

Iván.
Ivan
Top achievements
Rank 1
 answered on 29 Oct 2010
3 answers
121 views

Hello Dimo,

Please can you respose for following tow issue. I will thanks and advance.

  • RadGrid Edit in pop Mode, I am getting scroll bar for the browser when the popup opens.. Can you please send some solution to resolve this?
  • When I am using Update Panel for the page in which rad controls are there, I am getting JavaScript errors. But if I am not using Update Panel, everything is working fine. Can you please send some solution to resolve this?
Dimo
Telerik team
 answered on 29 Oct 2010
3 answers
178 views
Hello,

I'm hoping there's an elegant way to access just the filtered items on a RadGrid.  For example, a user sets a filter on a column in the grid, and the results change from 1,000 records to, say, 500 records - I'd like to access just these 500 records.

Thanks.
Iana Tsolova
Telerik team
 answered on 29 Oct 2010
1 answer
335 views
Hi,

On my page I have a RadGrid control and I am creating columns dynamically. Also I have a child grid which suppose to be displayed for some records when user hits expand column. Now the problem I am facing is that the horizontal scroll is not displayed when the ExpandCollapse column is visible and the grid is trying to fit all the columns within page width which causing headers and data to overlap. When I am hiding ExpandCollapse column on ColumnCreated event all alignments and horizontal scrolling works as expected.
Any help is appreciated.

I'm using a 2008.3.1314.35 version of Rad Controls

Thank you.
Dimo
Telerik team
 answered on 29 Oct 2010
1 answer
209 views
I've got a situation where I want to have a couple of files uploaded into a RadAsyncUpload instance when it first is initialized.  I'm sure this must be possible via server-side functionality, but I haven't come across an example.

Any hints in this direction?

Thanks!
Genady Sergeev
Telerik team
 answered on 29 Oct 2010
3 answers
169 views
hi,
i am trying to calculation in radgrid by some sample available in telerik site but getting error
System.NullReferenceException: Object reference not set to an instance of an object.

in my grid label display in label column on selection of dropdown and quantity insert by user and output should come in some other column label amount.
protected void radGrid1_ItemDataBound(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridDataItem)
            {
                GridDataItem item = (GridDataItem)e.Item;
                DropDownList list = (DropDownList)item.FindControl("ddl1");
                list.Items.Insert(0, new ListItem("select", "-1"));
                SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["chalk_hillConnectionString"].ConnectionString);
                SqlDataAdapter da = new SqlDataAdapter();
                da.SelectCommand = new SqlCommand("select product_name from product_detail", con);
                DataSet ds = new DataSet();
                da.Fill(ds);
                list.DataSource = ds;
                list.DataBind();
 
                //For calculate item Amount....
                Label lbl_Rate = (Label)item.FindControl("lblRate");
 
                TextBox txt_Quantity = (TextBox)item.FindControl("txtQuantity");
                Label lbl_Amount = (Label)item.FindControl("lblAmount");
 
                txt_Quantity.Attributes.Add("onFocusout", "return show('" + txt_Quantity.ClientID + "','" + lbl_Rate.ClientID + "','" + lbl_Amount.ClientID + "')");
                lbl_Rate.Attributes.Add("onFocusout", "return show('" + txt_Quantity.ClientID + "','" + lbl_Rate.ClientID + "','" + lbl_Amount.ClientID + "')");
                lbl_Amount.Attributes.Add("onFocusout", "return show('" + txt_Quantity.ClientID + "','" + lbl_Rate.ClientID + "','" + lbl_Amount.ClientID + "')");
 
 
            }
        }
<telerik:RadGrid ID="radGrid1" runat="server" OnInsertCommand="radGrid1_InsertCommand" AutoGenerateColumns="False" GridLines="None"
           AllowMultiRowEdit="True" AllowAutomaticInserts="true" OnItemDataBound="radGrid1_ItemDataBound" OnNeedDataSource="radGrid1_NeedDataSource">
           <MasterTableView AutoGenerateColumns="false" EditMode="InPlace" ShowFooter="false" CommandItemDisplay="Top" OnPreRender="radGrid1_PreRender">
               <Columns>
                   <telerik:GridTemplateColumn HeaderText="Product Name" UniqueName="Product_Name">
                       <ItemTemplate>
                           <asp:DropDownList ID="ddl1" runat="server" AutoPostBack="true" DataTextField="product_Name"
                               DataValueField="product_Name" OnSelectedIndexChanged="ddl1_SelectedIndexChanged">
                           </asp:DropDownList>
                       </ItemTemplate>
                   </telerik:GridTemplateColumn>
                   <telerik:GridTemplateColumn HeaderText="Product_rate">
                       <ItemTemplate>
                           <asp:Label ID="lblrate" runat="server"></asp:Label>
                       </ItemTemplate>
                   </telerik:GridTemplateColumn>
                   <telerik:GridTemplateColumn HeaderText="Product Quantity">
                       <EditItemTemplate>
                           <asp:TextBox ID="txtQuantity" runat="server"/>
                          
                       </EditItemTemplate>
                        
                   </telerik:GridTemplateColumn>
                   <telerik:GridTemplateColumn HeaderText="Product Amount">
                       <ItemTemplate>
                           <asp:Label ID="lblAmount" runat="server" />
                       </ItemTemplate>
                       <FooterTemplate>
                       <asp:Button ID="btn1" runat="server" Text="Add New Item" OnClick="btn1_click" />
                       </FooterTemplate>
                   </telerik:GridTemplateColumn>
<script type="text/javascript" language="javascript">
       function show(labelrate, labelamount, txtqty) {
           var txt_Quantity = $find(txtqty);
           var lbl_Rate = $find(labelrate)
           var lbl_Amount = $find(labelamount);
           
           var total = txt_Quantity.Getvalue() * lbl_Rate.Getvalue();
           labelamount.Setvalue(total);
 
            }
 
      
    
    
   </script>
now just tell me where is the prob???
Marin
Telerik team
 answered on 29 Oct 2010
3 answers
284 views
Hi,
I want to add text boxes on add new button.

for ex. if i click on add new button i want to generate text boxes on each and every row

and also want to catch its value of each and every text box that i want to generate after clicking on add new button.

Please help me on this.

Thank you.
Marin
Telerik team
 answered on 29 Oct 2010
6 answers
173 views
All,

I'm having an issue with my PanelBar header links or whatever they're called.  I have two panel items. The background for the text in the panel should be Yellow for my active panel and Blue for my inactive panel.  I've attached a screenshot of what I'm getting.  I'm getting a white space above the correct background for each of these.  Is there a css setting I'm missing or have incorrect somewhere?  I've modified as many items in the .rpExpanded, .rpExpandable and .rpLink classes that I could think of, but I can't seem to figure it out. 

Any help would be greatly appreciated.
Cori
Top achievements
Rank 2
 answered on 29 Oct 2010
3 answers
80 views
Hi,

We are using client side binding very similar to the example seen at:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/databinding/defaultcs.aspx

We want to add the RadFilter to this, but looking at the code it does not appear like it will work.

How can we get the RadFilter filter object into javascript and post it back to a WebMethod?

Cheers,
Rich
Iana Tsolova
Telerik team
 answered on 29 Oct 2010
3 answers
296 views
Is it possible to have a detail table with  a separate horizontal scroll ? My detail table is wider than the Master table , scrolling works fine when useStaticHeaders is set to false but for visual reasons I would like to use static headers and have the detail table scroll is that possible?

Adonis
Top achievements
Rank 1
 answered on 29 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?