Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
147 views
can we query down directly RadGrid.Items.........      to get values of a column in an IList / collection separately .

I do not want to use for each loop to fetch values of a particular column / field to another IList due to performance issue.



Mark Galbreath
Top achievements
Rank 2
 answered on 24 Nov 2009
1 answer
91 views
Experienced members,

I am trying to do what I thought would be a simple change to a page with a RadEditor control. All I would really like to do is turn the toolbar completely off. No, floating around, no tools, just a simple textbox appearance. I have reviewed the demo that shows a textbox appearance, but I am not finding anything that shows turning off the toolbar completely.

Can anyone point me in the right direction?

Thanks,

Chris
Svetlina Anati
Telerik team
 answered on 24 Nov 2009
4 answers
108 views
Hi,
I have used RadSplitter to split the main page into three parts:
in middle part i am using the radtooltip. It is displayed well in Internet explorer. But in Mozilla and Chrome only the some part of tooltip is being displayed and remaining part is overlapped by last part (panel) of rad splitter.
Can anyone suggest the solution ?
i tried to use z-index property of tooltip, but it didn't helped me.

Regards,
Nitin
Svetlina Anati
Telerik team
 answered on 24 Nov 2009
1 answer
108 views
Hello,
My panes don't get the current skin background color, although internal or external controls well reflect the skin color.

Now, in a very special case, my panes get the skin background ; I need to combine all that :
1. Using a RadSkinManager
2. Ading in the code behind : If Not Page.IsPostBack then  RadSkinManager.GetCurrent(Me.Page).Skin = MySkinForest
3. Using a RadFormDecorator
4. Making a callback

Only after the callback, the panes get skin backcolor.

For all other combination, the panes stay transparent ; for example :
- I do 1,2,3 but I make a postback instead of a callback.
- I do 1,2,4 but I haven't got a RadFormDecorator.
- I do 2,3,4 and I replace RadSkinManager usage (remove it) by the add of the attribute Skin=Forest  into the Splitter tag

That's very strange. Have you got an idea to get a pane back color permanently ?

For info :
- I'm using version 2009.2.1028.35
- bug occurs in localhost (Windows XP) and server (Windows 2003 Server)
Svetlina Anati
Telerik team
 answered on 24 Nov 2009
1 answer
156 views
Hello,
I'm usin radgrid with editing.
i will be happy if you show me a way(client and server side) to know if one ore more edited fields in the grid modified (before i press the button or quiting the web form  and sends the
data to the Data Base)
Thanks
Gerry
Princy
Top achievements
Rank 2
 answered on 24 Nov 2009
1 answer
137 views
Hi, I have a tooltip in a templated column within my radgrid.  I am trying to programmatically change the text on the tooltip depending upon a session variable.

However, I cannot seem to find the tooltip when I call it up in code.

Can anyone help.

I have posted my code.
<telerik:GridTemplateColumn UniqueName="TemplateColumn">  
            <EditItemTemplate> 
                <asp:Button runat="server" CommandName="Update" Text="Update" /> 
                &nbsp;<asp:Button runat="server" CausesValidation="false" CommandName="Cancel"   
                    Text="Cancel" /> 
            </EditItemTemplate> 
            <ItemTemplate> 
                <asp:ImageButton ID="ibPrint" runat="server" ImageUrl="~/Images/print2.jpg"   
                    CausesValidation="false" CommandName="Edit" BackColor="White" /> 
                <telerik:RadToolTip ID="ttibPrint" runat="server" TargetControlID="ibPrint" Text="print"</telerik:RadToolTip> 
            </ItemTemplate> 
            <ItemStyle BackColor="White" HorizontalAlign="Center" /> 
        </telerik:GridTemplateColumn> 
 If Session("UserCulture") = 2 Then 
            If TypeOf e.Item Is GridDataItem Then 
                Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)  
                Dim editBtn1 As RadToolTip = TryCast(item("TemplateColumn1").Controls(1), RadToolTip)  
                Dim editBtn3 As RadToolTip = TryCast(item("TemplateColumn").Controls(1), RadToolTip)  
                editBtn1.Text = "视图采购申请" 
                editBtn3.Text = "打印" 
            End If 
        End If 
Svetlina Anati
Telerik team
 answered on 24 Nov 2009
2 answers
241 views
Hello,

 i have this javascript code

   function AccesDirectFicheCadre() { 
                var cb = $find("<%= AccesDirect_List.ClientID %>"); 
                var item = cb.get_selectedItem(); 
                 
                var id = item.get_attributes().getAttribute('Id'); 
           // Some other actions using "id", but "id" is ALWAYS undefined... :( 
            } 

With this :

   <telerik:RadComboBox  
                    runat="server" ID="AccesDirect_List"    OnClientItemsRequested="OnClientItemsRequested" 
 ShowDropDownOnTextboxClick="false" 
                 MarkFirstMatch="true"  
                 EnableVirtualScrolling="true" NoWrap="true" MaxHeight="210px" 
                    EnableLoadOnDemand="true"  
                    HighlightTemplatedItems="true" EnableViewState="false" 
                    OnItemDataBound="RadComboBox1_ItemDataBound"  
                    OnItemsRequested="RadComboBox1_ItemsRequested"
                </telerik:RadComboBox> 

and this
       protected void RadComboBox1_ItemDataBound(object sender, RadComboBoxItemEventArgs e) 
        { 
            //set the Text and Value property of every item 
            //here you can set any other properties like Enabled, ToolTip, Visible, etc. 
            e.Item.Text = ((DataRowView)e.Item.DataItem)["Nom"].ToString(); 
            e.Item.Value = ((DataRowView)e.Item.DataItem)["Id_Cadre"].ToString(); 
            e.Item.Attributes["Id"] = ((DataRowView)e.Item.DataItem)["Id_Cadre"].ToString(); 
        } 




The problem is that in my javascript function, the "id" is ALWAYS undefined, i'm unable to access the "Attribute" value i have set in the codebehind method.

How can i do this ?

Thank you
FAR
Top achievements
Rank 1
 answered on 24 Nov 2009
2 answers
121 views
Hi all,

I need to implement drap and drop funcitonality from the rad grid to rad scheduler.. it is working fine for me..but i need to have more fields in the edit form especially they should be drop down fields.

can any one please refer any article or the code to have custom drop down fileds in the edit form for a scheduler...

and also along this, i need to have a custom column date field for the mutli day view like Day1,Day2,Day3.... like so on not the dates..

how to go for this..

It's very urgent..
chaitanya elluri
Top achievements
Rank 1
 answered on 24 Nov 2009
1 answer
130 views
I am trying to figure out how I can include/reference a bound column from my master grid in a calculated column in my detail grid.  Is there a fairly straightforward way to accomplish this?  I have tried adding the name of the column from the master grid to the DataFields property in the detail grid's calculated column - no luck.

Any guidance on this would be most appreciated!

Thanks, Bruce
Veli
Telerik team
 answered on 24 Nov 2009
6 answers
149 views
Hi,
   
   I was using my custom skin for rad window, I need to reduce the size of the right,left and bottom border size to 3px.
And my second query was
     I was not displaying the icon at the top, but i was not able to get the tilte text to the start of the page.( means I was getting an unnecesary space over there.
   Help me out on this 2 issues.

Thanks,
Nagendra
nagendra d
Top achievements
Rank 1
 answered on 24 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?