Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
123 views
Hey guys, I am using the ExchangeSchedulerProvider class to connect to an Exchange 2007 server... I am able to authenticate using my credentials, however, the model in this class will bind a RadScheduler control directly to my own calendar items... I am trying to connect to a conference room mailbox to which I have full rights and would like to display all calendar items within it. I am not sure how to override the credentials in order to get there. Thanks!
T. Tsonev
Telerik team
 answered on 17 Feb 2010
1 answer
94 views
Hi,

We're using Radcontrols Q3 SP2. We're using the radeditor default skin .
Pls find the attached jpg which shows how our radeditor find&replace dialog gets rendered on the screen. we're missing the tabs for find and replace and we're getting find options and replace options in the same dialog.

We're using the default skin.

I copied the editor.css and editor folder and editor.myskin.css file to the appropraite place.

In our myskin.skin file, we've the foll settings:

<

 

telerik:RadEditor runat="server" Skin="myskin" EnableEmbeddedSkins="false">

 

 

<Tools>

 

 

<telerik:EditorToolGroup>

 

 

<telerik:EditorTool Name="Print" Enabled="true" ShowIcon="true" Visible="true" ShowText="false" />

 

 

<telerik:EditorSeparator Visible="true" />

 

 

<telerik:EditorTool Name="FindAndReplace" Enabled="true" ShowIcon="true" Visible="true" ShortCut="CTRL+F" ShowText="false" />

 


Pls tell us what're we missing to copy or download. Pls help us with code to solve the rendering issue.



Rumen
Telerik team
 answered on 17 Feb 2010
2 answers
143 views
Hi, I have a NestedViewTemplate with a RadGrid in a RadGrid. Now I can't disable ContextMenu in the NestedViewTemplate. Please help

        <cc3:RadGrid ID="RadGrid1" runat="server" OnItemCommand="RadGrid1_ItemCommand" OnInit="RadGrid1_OnInit" 
            OnItemCreated="RadGrid1_ItemCreated" OnPreRender="RadGrid1_OnPreRender" OnItemDataBound="RadGrid1_ItemDataBound"
            <MasterTableView DataKeyNames="Group_ID"
                <NestedViewTemplate> 
                    <asp:Panel runat="server" ID="InnerContainer" Visible="false"
                        <asp:Label ID="Label1" Font-Bold="true" Font-Italic="true" Text='<%# Eval("Group_ID") %>' 
                            Visible="false" runat="server" /> 
                        <asp:Label ID="Label2" Font-Bold="true" Font-Italic="true" Text='<%# Eval("Portal_ID") %>' 
                            Visible="false" runat="server" /> 
                        <asp:Label ID="Label3" Font-Bold="true" Font-Italic="true" Text='<%# Eval("Language") %>' 
                            Visible="false" runat="server" /> 
                        <cc3:RadGrid ID="RadGrid2" runat="server" DataSourceID="SqlDataSource2" OnInit="RadGrid2_OnInit" 
                            OnItemCommand="RadGrid2_ItemCommand"
                            <MasterTableView> 
                                <Columns> 
                                    <telerik:GridNumericColumn DataField="Nick_Index" UniqueName="Nick_Index" HeaderText=""
                                    </telerik:GridNumericColumn> 
                                    <telerik:GridBoundColumn DataField="Nick_Name" UniqueName="Nick_Name" HeaderText=""
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn DataField="Nick_Title" UniqueName="Nick_Title" HeaderText=""
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridCheckBoxColumn DataField="Nick_Status" UniqueName="Nick_Status" HeaderText=""
                                    </telerik:GridCheckBoxColumn> 
                                    <telerik:GridTemplateColumn UniqueName="Functions" AllowFiltering="false" Groupable="false" 
                                        HeaderStyle-Font-Bold="True" HeaderText=""
                                        <ItemTemplate> 
                                            <cc5:LinkButtonEdit ID="btnEditNick" runat="server" CommandArgument='<%# Eval("Nick_ID") %>' /> 
                                            | 
                                            <cc5:LinkButtonDelete ID="btnDeleteNick" runat="server" CommandArgument='<%# Eval("Nick_ID") %>' /> 
                                        </ItemTemplate> 
                                    </telerik:GridTemplateColumn> 
                                </Columns> 
                            </MasterTableView> 
                            <ClientSettings> 
                                <Selecting AllowRowSelect="false"/> 
                            </ClientSettings> 
                        </cc3:RadGrid> 
                        <asp:SqlDataSource ID="SqlDataSource2" ConnectionString='<%$ ConnectionStrings:Portal_ConnectionString %>' 
                            ProviderName="System.Data.SqlClient" SelectCommand="EXEC [OnlineSupport_Nicks_GetNicksByGroup] @Portal_ID, @Group_ID, @Language" 
                            runat="server"
                            <SelectParameters> 
                                <asp:ControlParameter ControlID="Label1" PropertyName="Text" Type="int32" Name="Group_ID" /> 
                                <asp:ControlParameter ControlID="Label2" PropertyName="Text" Type="int32" Name="Portal_ID" /> 
                                <asp:ControlParameter ControlID="Label3" PropertyName="Text" Type="String" Name="Language" /> 
                            </SelectParameters> 
                        </asp:SqlDataSource> 
                    </asp:Panel> 
                </NestedViewTemplate> 
                <Columns> 
                    <telerik:GridNumericColumn DataField="Group_Index" UniqueName="Group_Index" HeaderText=""
                    </telerik:GridNumericColumn> 
                    <telerik:GridBoundColumn DataField="Group_Name" UniqueName="Group_Name" HeaderText=""
                    </telerik:GridBoundColumn> 
                    <telerik:GridCheckBoxColumn DataField="Group_Enable" UniqueName="Group_Enable" HeaderText=""
                    </telerik:GridCheckBoxColumn> 
                    <telerik:GridTemplateColumn UniqueName="Functions" AllowFiltering="false" Groupable="false" 
                        HeaderStyle-Font-Bold="True" HeaderText=""
                        <ItemTemplate> 
                            <cc5:LinkButtonEdit ID="btnEdit" runat="server" CommandArgument='<%# Eval("Group_ID") %>' /> 
                            | 
                            <cc5:LinkButtonDelete ID="btnDelete" runat="server" CommandArgument='<%# Eval("Group_ID") %>' /> 
                            | 
                            <cc5:LinkButton ID="btnAddNick" runat="server" CommandArgument='<%# Eval("Group_ID") %>' 
                                CommandName="AddNick"></cc5:LinkButton> 
                        </ItemTemplate> 
                    </telerik:GridTemplateColumn> 
                </Columns> 
            </MasterTableView> 
            <ClientSettings> 
                <ClientEvents OnRowContextMenu="RowContextMenu"></ClientEvents> 
                <Selecting AllowRowSelect="true" /> 
            </ClientSettings> 
        </cc3:RadGrid> 
        <cc3:RadContextMenu ID="RadContextMenu1" runat="server" OnClientItemClicking="onClientContextMenuItemClicking" OnItemClick="RadContextMenu1_ItemClick" 
            OnInit="RadContextMenu1_OnInit"
            <Items> 
                <telerik:RadMenuItem Value="AddNick" Text="" /> 
                <telerik:RadMenuItem Value="Edit" Text="" /> 
                <telerik:RadMenuItem Value="Delete" Text="" Font-Bold="true"/> 
            </Items> 
        </cc3:RadContextMenu> 

VnDevil
Top achievements
Rank 2
 answered on 17 Feb 2010
6 answers
204 views
Hello,

I am using a Radgrid which I am setting the ScrollArea on the OnGridCreated Client Event.

The issue I am running into is when the user puts the grid into edit mode.  I have a user control as the Edit form for the grid. 

The javascript I have does not seem to be calculating the height correctly when the grid is in edit mode.

Is there a way that I can get the height of the user control in Javascript so that I can adjust the ScrollArea accordingly? 

Here is my Javascript (works fine if grid not in Edit Mode):

function

 

rgUsers_Client_OnGridCreated(sender, args)

 

{

 

 

 

 

var scrollArea = sender.GridDataDiv;

 

 

if (scrollArea)

 

{

 

var masterTable = sender.get_masterTableView();

 

 

if (masterTable)

 

{

 

var element = masterTable.get_element();

 

 

if (element)

 

{

 

var dataHeight = element.clientHeight;

 

 

if (dataHeight < 350)

 

{

scrollArea.style.height = dataHeight + 17 +

"px";

 

}

}

}

}

}

Thanks!
Dave

Dimo
Telerik team
 answered on 17 Feb 2010
1 answer
93 views
Hi all,

I need to design a RadComboBox Control without an image at the right hand side corner. Is there any option to remove that inverted triangle Image???

Thanks & Regards
Priya.
Yana
Telerik team
 answered on 17 Feb 2010
3 answers
144 views
Hello,
  I'm trying to write and app where I have a list of available columns for a grid, and i can click and drag those column names onto the grid to show those columns.  This works fine, however I am having problems trying to remove the column by clicking and dragging it off.  I would like to have a lot of the logic of what columns are visible and it what order all done server side, as I will be doing some server side work with the columns they've selected.  I was going to attach what I have so far but it's not letting me (since it's not a jpeg)
Ryan Caskey
Top achievements
Rank 1
 answered on 17 Feb 2010
1 answer
179 views
Hi All,

My requirement is as Follows:
1.Binding the HierarchicalData to the RadGrid Dynamically
(Achieved to bind the data dynamically up to the Fisrt Level
(i.e) MainGrid
    ----DetailsTables
                ----->GridTableView1
                ----->GridTableView2
                ----->GridTableView2
But not able to achieve the data as follows:
----DetailsTables
                ----->GridTableView1
                            ------------>DetailsTables
                                                    ------------>GridTableViewChild1
                ----->GridTableView2
                ----->GridTableView2


2.In the First GridTableView I need to have a Link Column
 ----DetailsTables
                ----->GridTableView1(having a linkButton Column)
                ----->GridTableView2
                ----->GridTableView2

3.When I click on the Link ,I need to redirect it to a new window with selected RowIndex
or the Selected Row Table-RowId(I mean the table PK Field ID) passed through query string .

I tried on  Pre-Render Event But Failed to get the selected row index and the Row Data.

Hope You understood it,else see the attached picture

Pavlina
Telerik team
 answered on 17 Feb 2010
5 answers
269 views
If i want to use the radfileexplorer in a grid edit form i get an error trying to find the fileName text box.  can you help me fix this line of code to get find this control.

function

 

OnFileSelected(wnd, fileSelected) {

 

 

var textbox = $get('<%= Master.Master.FindControl("ContentPlaceHolder1").FindControl("ContentPlaceHolder2").FindControl("RadGrid2").GridEditableItem.Controls["fileName"].ClientID %>');

 

textbox.value = fileSelected;

I have tried many ways and cannot figure this out. Thanks!

Fiko
Telerik team
 answered on 17 Feb 2010
1 answer
52 views
I ve been using radcontrols in my project. but it takes some time to refresh.previous data's that was binded will be shown  during the page load , after some time, it shows the datas.in other word rebinding takes some time. how can we increase the performance?
Georgi Tunev
Telerik team
 answered on 17 Feb 2010
2 answers
252 views
I want to extend RadTextBox by implementing RequiredFieldValidator. I did simillar functionality with asp:textbox :

Public Class MyTextBox 
        Inherits WebControls.TextBox 
 
        Private req As New RequiredFieldValidator 
 
        Protected Overrides Sub OnInit(ByVal e As EventArgs) 
            req.ControlToValidate = Me.ID 
            req.Display = ValidatorDisplay.Dynamic 
            req.ErrorMessage = "Please fill marked field(-s)" 
            req.Text = "*" 
            req.EnableClientScript = True 
            Controls.Add(req) 
        End Sub 
 
        Protected Overrides Sub Render(ByVal w As HtmlTextWriter) 
            MyBase.Render(w) 
            req.RenderControl(w) 
        End Sub 
 
 End Class 

When I want to inherit from RadTextBox (at line 2: Inherits Telerik.Web.UI.RadTextBox), code stops working with weird error:

Unable to find control id 'txtTest' referenced by the 'ControlToValidate' property of ''.


What I'm doing wrong? Thank you for your help!

Zdenek

Zdeněk
Top achievements
Rank 1
 answered on 17 Feb 2010
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?