Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
158 views
I am using RadTooltipmanager for a control in detailview section of a radgrid. Tooltipmanager is bound in item_databound event and associated with user control in Ajax update event. Tooltipmanager is properly invoked and page_load event of the user control is also fired but still user control is not loaded in the tooltipmanager.

Code in item_databound event ->


    if (e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem)
                    {
                        Control target = e.Item.FindControl("imgFinal");
                        if (!Object.Equals(target, null))
                        {
                            if (!Object.Equals(this.RadToolTipManager1, null))
                            {
                                DataRowView currentRow = (DataRowView)e.Item.DataItem;
                                //Add the button (target) id to the tooltip manager

                                ToolTipTargetControl tltpCntrl = new ToolTipTargetControl(target.ClientID, ((Image)target).ImageUrl, true);
                                try
                                {
                                    this.RadToolTipManager1.TargetControls.Remove(tltpCntrl);
                                }
                                catch (Exception ex)
                                {

                                }
                                this.RadToolTipManager1.TargetControls.Add(tltpCntrl);
                            }
                        }
                    }



Ajax Update event 

 Control usrControl = Page.LoadControl("~/Common/Controls/EPScoring.ascx");
                e.UpdatePanel.ContentTemplateContainer.Controls.Add(usrControl);
Marin Bratanov
Telerik team
 answered on 08 Sep 2014
3 answers
105 views
I have a RadGrid in my page and the HeaderContextMenu & HeaderContextFilterMenu is enabled for the grid.

But for some of the grid columns it is not displaying properly the controls for filter menu like,
for some column the filter textbox to enter the filter value is smaller than the fit size of the Filter menu
where as for some it goes out of the menu means its size exceeds the size of the filter menu.

I want to know why it happens like this and what solution we may try for it ?

It seems it takes the filter control width of the in place filter controls used for each column in the top row below to header.
I had also set the FilterControlWidth for teh columns, is it the reason if yes then what should be solution for it to get the filter controls as in proper size in the filter menu ?

Can any body help me in this regard, please ?
Kostadin
Telerik team
 answered on 08 Sep 2014
2 answers
266 views
Hi,

Im using telerik auto complete textbox.
when i pastes a semicolon-separated list of entries into RadAutoCompleteBox,
and on TAB press it returns only last semicolon seperated value into token.

How to get all semicolon-separated value in to separate tokan?

Thank You
Zakir
Zakir
Top achievements
Rank 1
 answered on 08 Sep 2014
4 answers
64 views
I would appreciate any help/info on the following.

I have a WebUserControl used for an edit form on a RadGrid.

Everything works fine. The editing is ok, the insert is ok and the delete is ok.

However, even if I leave the page with the edit form closed (by either cansel or update), when the user re-opens the web site, that form is opened on the last row which was selected in the previous session!

I can not come up with a reasonable explanation.

Thanks
Eyup
Telerik team
 answered on 08 Sep 2014
1 answer
121 views
Hi
I used GridBatchEdit, i Sucess to get update and Insert Row but i can't get not changed row data


---------
how to get the finally all rowdata?

void gdvRadList_BatchEditCommand(object sender, GridBatchEditingEventArgs e)
        {
            foreach ( GridBatchEditingCommand command in e.Commands )
            {
                Hashtable newValues = command.NewValues;
                Hashtable oldValues = command.OldValues;
                string newFirstName = newValues["CAPA"].ToString();
            }
        }
Eyup
Telerik team
 answered on 08 Sep 2014
2 answers
400 views
Hi,

how can i take row click(edit button of row) value on editcommand event in radgrid?

Thanks.
Konstantin Dikov
Telerik team
 answered on 08 Sep 2014
2 answers
141 views
When I look in code the LightBox DIV has z-index 3006.
That is way too low, RadMenu has 7000...

Marc
Fit2Page
Top achievements
Rank 3
Bronze
Bronze
Iron
 answered on 08 Sep 2014
1 answer
132 views
Telerik Version is 2013.1.403.35
i want to use BatchEdit in RadGrid
but there are no 'Batch' in â€‹MasterTableView's EditMode



Eyup
Telerik team
 answered on 08 Sep 2014
2 answers
93 views
Hi All ,

New to the forum and telerik.
I have to achieve a functionality to export radgrid to all formats and save it to some location on a single button click.
How can accomplish this.
The export method for the radgrid doesnot seem to work simultaneously one after another.

Thanks in advance 
Keshav
Top achievements
Rank 1
 answered on 08 Sep 2014
6 answers
358 views

I am using the Q2 2011 version of Telerik's ASP.NET AJAX controls installed with Visual Studio 2010.

I have dropped a RadScheduler onto my Test.aspx and I am binding it to a SQL Server backend, much like the RadScheduler TimelineView example that is included/installed with the Telerik controls. Everything was good, until I applied a GroupBy to the scheduler control. With the GroupBy included, my data no longer appears in the scheduler control when I browse the Test.aspx.

The GroupBy was initially assigned to the overall scheduler control, and no data would appear in any of the 4 scheduler views (Day, Week, Month, or Timeline). Then I moved the GroupBy to just the <TimelineView> and I could then see data in every view (Day, Week, and Month), except the Timeline view. If I completely remove the GroupBy from the scheduler, I can once again see data in all 4 views, but I want to be able to group my data.

I can't locate the cause of the problem. Here is my Test.aspx (there is no code directly behind this aspx):

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %>
<%@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="scriptMgr" runat="server"></asp:ScriptManager>
        <asp:Panel ID="pnlForScheduler" runat="server">
            <telerik:RadScheduler ID="radScheduler" runat="server" AllowDelete="true"
                AllowEdit="true" AllowInsert="true"
                DataSourceID="dsAppts" DataKeyField="ApptID" DataSubjectField="Subject"
                DataStartField="Start" DataEndField="End" GroupBy="Trucks" <--- Does Not Work Here!
                OverflowBehavior="Expand" SelectedView="TimelineView">
                <AdvancedForm Modal="true" />
                <ResourceTypes>
                    <telerik:ResourceType Name="Trucks" KeyField="TruckID" TextField="TruckName" ForeignKeyField="TruckID" DataSourceID="dsTrucks" />
                </ResourceTypes>
                <TimelineView ColumnHeaderDateFormat="MM/dd/yyyy" GroupBy="Trucks" <--- Does Not Work Here Either!
                              GroupingDirection="Vertical" NumberOfSlots="7" SlotDuration="1.00:00:00" TimeLabelSpan="1" UserSelectable="true" />
            </telerik:RadScheduler>
        </asp:Panel>
        <sds:SessionDataSource ID="dsAppts" runat="server" DisplayWarning="false"
        PrimaryKeyFields="ApptID" ProviderName="System.Data.SqlClient"
        ConnectionString="Server=Test\SQLExpress;Initial Catalog=Appointments;UID=sa;Pwd=123456789"
        SelectCommand="SELECT ApptID, [Subject], Start, [End], UserID, TruckID FROM tblAppointments"
        InsertCommand="INSERT INTO tblAppointments([Subject], Start, [End], UserID, TruckID) VALUES(@Subject, @Start , @End, @UserID, @TruckID)"
        UpdateCommand="UPDATE tblAppointments SET [Subject] = @Subject, Start = @Start, [End] = @End, UserID = @UserID, TruckID = @TruckID WHERE ApptID = @ApptID"
        DeleteCommand="DELETE FROM tblAppointments WHERE ApptID = @ApptID">
        <DeleteParameters>
            <asp:Parameter Name="ApptID" Type="Int32" />
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="Subject" Type="String" />
            <asp:Parameter Name="Start" Type="DateTime" />
            <asp:Parameter Name="End" Type="DateTime" />
            <asp:Parameter Name="UserID" Type="Int32" />
            <asp:Parameter Name="TruckID" Type="Int32" />
            <asp:Parameter Name="ApptID" Type="Int32" />
        </UpdateParameters>
        <InsertParameters>
            <asp:Parameter Name="Subject" Type="String" />
            <asp:Parameter Name="Start" Type="DateTime" />
            <asp:Parameter Name="End" Type="DateTime" />
            <asp:Parameter Name="UserID" Type="Int32" />
            <asp:Parameter Name="TruckID" Type="Int32" />
        </InsertParameters>
    </sds:SessionDataSource>
    <sds:SessionDataSource ID="dsTrucks" runat="server" DisplayWarning="false"
        ProviderName="System.Data.SqlClient"
        ConnectionString="Server=Test\SQLExpress;Initial Catalog=Appointments;UID=sa;Pwd=123456789"
        SelectCommand="SELECT TruckID, TruckName FROM tblTrucks">
    </sds:SessionDataSource>
    </div>
    </form>
</body>
</html>
S
Top achievements
Rank 1
 answered on 05 Sep 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?