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

The filter context menu of the RadGrid is not displayed properly near the filter icon in the grid.

This position varies based on the mouse pointer and the page vertical scroll bar position.
Please assist on sorting out this issue.

Thanks.
Tsvetina
Telerik team
 answered on 17 Sep 2011
1 answer
264 views
I am not using any datasource controls, all db access done only in BusinessLayer, and front end is not aware of any built-in .NET data objects either. (no DataTable). The underlying type which grid is bound to is keyvaluepair<string,string>.

protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
        {
   if (e.CommandName==RadGrid.PerformInsertCommandName )
            {
 
                // how to get text that user just typed in textbox in the grid ?
                      // so I can pass it to Busnesslayer for validation and handling.
 
            }
}
Shinu
Top achievements
Rank 2
 answered on 17 Sep 2011
1 answer
69 views
Hi,

I have a start datetime picker and an End datetime picker on my edit form. Please let me know a way to make the End datetime to always pick a datetime period that follows the start datetime

thanks,
Minh Bui
Shinu
Top achievements
Rank 2
 answered on 17 Sep 2011
2 answers
128 views
Hi Telerik team,
I am using a Radlistbox and show a tooltip .The proble is i am not able to get the tooltip at correct position . Here is my RadlistBOx code.
<telerik:RadListBox ID="RadListBox2" runat="server" Width="280px" Height="280px"
         CssClass ="radcss" AutoPostBackOnTransfer="true"  AllowTransferOnDoubleClick="true"
            SelectionMode="Multiple" AutoPostBackOnReorder="true" EnableDragAndDrop="true" AutoPostBack="true"
                 Skin="Office2010Blue"     OnSelectedIndexChanged="row_click"
                 AllowDelete="True"  >
           
            <ButtonSettings ShowTransferAll="false" />
             </telerik:RadListBox>

and here is my tooltip code. Actually i am using user control as tooltip.

<telerik:RadToolTip ID="RadToolTip1" runat="server" BackColor="white"  
            ManualClose="false"   OnClientBeforeShow="OnClientBeforeShow"  Relative To ="Element"
             
              RenderInPageRoot="true" EnableShadow="true" Animation="Slide"   >
                            
                        
             <web:web ID ="tooltip" runat="server" /></telerik:RadToolTip>

and here is my c # code onSelectedIndexChanged="row_click"
public void row_click(object sender, EventArgs e)
    {
 
        tooltip.Refresh(Convert.ToInt32(((Telerik.Web.UI.ControlItem)(((Telerik.Web.UI.RadListBox)(sender)).SelectedItem)).Value));
 
        tooltip.UserName = Convert.ToString(((Telerik.Web.UI.ControlItem)(((Telerik.Web.UI.RadListBox)(sender)).SelectedItem)).Text);
        ((System.Web.UI.Control)(((Telerik.Web.UI.RadListBox)(sender)).SelectedItem)).Focus();
         
        RadToolTip1.TargetControlID = ((System.Web.UI.Control)(((Telerik.Web.UI.RadListBox)(sender)).SelectedItem)).UniqueID;
        RadToolTip1.RelativeTo =Telerik.Web.UI.ToolTipRelativeDisplay.Element;
        RadToolTip1.Position = ToolTipPosition.MiddleRight;
        RadToolTip1.Overlay = true;
 
       
            RadToolTip1.ShowEvent = Telerik.Web.UI.ToolTipShowEvent.OnClick;
            RadToolTip1.Show();
            
         
 
 
    }


And here is my defect: It is coming perfectly for first 12 elements which loads on page refresh. But the moment i scroll down and then select and item in radlistbox . Tooltip  position goes up. I have tried many things. please help me asap.

Screenshot of problem. please use Google chrome to check my problem.

 
ashirvad
Top achievements
Rank 1
 answered on 17 Sep 2011
1 answer
82 views
Hello,

Hope someone can help me out, i'm struggling with some thing that i want to do.

I have 


public class AttributeValue
{
        public string Name {get;set;}
        public string Value {get;set;}
}
  
public class Entry
{
        public string EntryName {get;set;}
        public List<AttributeValue> Attributes {get;set;}
}

All i want to do is binding a List<Entry> to a RadGrid and then show the Attributes as a columns. i'm thinking about having the Attributes radgrid inside the Entry radgrid.

<telerik:RadGrid ID="rgEntry" runat="server">
    <MasterTableView>
        <Columns>
            <telerik:GridTemplateColumn>
                <ItemTemplate>
                    <telerik:RadGrid ShowHeader="false" ShowFooter="false" runat="server" ID="rgAttributes">
                    </telerik:RadGrid>
                </ItemTemplate>
                <HeaderTemplate>
                     
                </HeaderTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

Do you think i'm in the right way ? Or should i used Hierarchical Rad Grid or NestedViewTemplate ?

Thanks in advance





Jayesh Goyani
Top achievements
Rank 2
 answered on 17 Sep 2011
1 answer
53 views
Is there a way to know which records are returned after applying a filter? I need to gather all values of the key field when the records in the grid changes.

I have tried collecting the key value of each record in ItemDataBound event but that only returned records in one page. When there are more than one page, records in subsequent pages cannot be accessed through ItemDataBound.
Shinu
Top achievements
Rank 2
 answered on 17 Sep 2011
1 answer
90 views
I would like to change the sort behavior of the columns in my RadGrid.  Currently, when you click on a column, it sorts ascending.  I agree this is probably by design, but of course my client wants the column sorting descending when you first click the column.  Is this something that can easily be done?  A grid property??

Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 17 Sep 2011
7 answers
127 views
hi all,
  I am using RadAlert for sisplaying messages to users. Project is multilingual and i can show localised message in the radalert byt passing localised message as parameters to the function. But any possibility to show the buttons like 'OK', 'CANCEL', YES' etc in localized language?

I read some article specifying 'language' property in the RAdWindowManager but i didnt found in my control. I am using Q3 2010. any possibility in Q1 2011? because i am going to use this latest version for next project
Akhil Raj
Top achievements
Rank 1
 answered on 17 Sep 2011
0 answers
67 views
I would like to implement a column chooser for the RADTreeList as the standard control does not have this functionality. Just wondered if anyone else has already done this and what method/control they have used. I had thought of using the RADWindow as this seemed to be a simple popup window which I could display when invoked (maybe from a context menu).

Unfortunately it seems that the RADWindow is not quite what I thought - I really wanted a simple popup container window.  Thanks for any other suggestions?
Chris
Top achievements
Rank 1
 asked on 16 Sep 2011
2 answers
61 views
Hi,

I already read this : 
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid

Basically i want to do the same thing, maybe you can point me to an example.

What i want to do is : 
I have a RadGrid that has 3 RadComboBox (in edit and insert mode).

For each radcombobox i want to have a hyperlink "Add new Item" that basically opens a new RadWindow (with a user controls inside), and when the user insert the new item, the radcombobox will be automatically updated, sorted and the new value selected without refreshing the page.

If anyone can hook me up with how to do this or any example ?

Thanks in advance
Al
Top achievements
Rank 1
 answered on 16 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?