Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
74 views
When using Microsoft's VE Map Control
http://msdn.microsoft.com/en-us/library/cc788749.aspx

the rotator control shows its first element but subsequent elements are dimmed or blacked out. This only happens on FireFox and appears to be a stylesheet conflict - probably with one of the -moz css extensions. It's difficult to tell exactly what the interaction is.

using telerik asp.net ajax controls version 2008.3 1125
FireFox version 3.0.4
latest version of map control

to reproduce put a map control and a rotator on same page - view in firefox

anyone have any ideas?


Martin
Telerik team
 answered on 02 Dec 2008
3 answers
114 views
Hi:

I have a RadGrid and RadTree that are tied to a SqlServer database.  When I click on a node which is represended by a Category ID, it brings up a list in the Grid of all Products that have that CategoryID.  I would like to be able to drag a row from the grid to another  node on the tree and update the database so that that product now shows up under the new category.

I am able to extract the ProductID in the NodeDrop event.  What I am having difficulty doing is extracting the CategoryID from the node that I am hovering over.  Partly this has to do with my limited ability to speak javascript.  Any help in doing this would be greatly appreciated.

Roger
Simon
Telerik team
 answered on 02 Dec 2008
2 answers
187 views
My RADGrid is slow while collapsing and expanding in groups.  I noted that it is posting back.  Can post-back be turned off on collapse.  ... what other suggestions?
Phil H.
Top achievements
Rank 2
 answered on 02 Dec 2008
2 answers
175 views
I'm trying to update the data from the grid using update_command, but after I click in the update button the edit form don't close, but the data is updated.

If I try to change the text or the visibility of a label inside the update_command to notify the update, nothing happens with the label.

I have in my code the item_updated sub, but it is never fired.

What I must do to close the edit form after the update is done?

Protected Sub RadGrid1_UpdateCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.UpdateCommand
        Dim sql As String
        Dim conn As New ADODB.Connection
        Dim rs As New ADODB.Recordset


        conn.ConnectionString = ConfigurationManager.AppSettings.Get("strConexaoOracleAdodb")
        conn.Open()

        sql = "select * from pontos_digitais where cd_ponto_digital = '" & tbCdPontoDigital.Text & "'"
        rs.Open(sql, conn)

        Try
            If Not rs.EOF Then
                sql = "call SSG_PACKAGE.PONTOS_DIGITAIS_EDITAR(" & _
                    rs("id_ponto_digital").Value.ToString & ",'" & rs("cd_ponto_digital").Value.ToString & "','" & tbNmPontoDigital.Text & "','" & _
                    tbTxtPontoDigital.Text & "','" & rdcbAreas.SelectedValue & "','" & rdcbUsinaEdit.SelectedValue & "','" & _
                    rs("id_tipo").Value.ToString & "','" & rs("id_dados_tm1").Value.ToString & "','" & rs("id_dados_ons1").Value.ToString & "','" & _
                    rs("id_dados_iec1").Value.ToString & "','" & rdcbFonte1A.SelectedValue & "', null, null, null, null, 0, 1,'" & _
                    tbTxtAlarme.Text & "',0,'" & tbTxtRetorno.Text & "',1024,0,0,0,0,0,1)"

                conn.Execute(sql)

            End If
            rs.Close()
            conn.Close()
        Catch ex As Exception
            e.Canceled = True
        End Try

        Label1.Text = "Update Realizado"

    End Sub
Simón
Top achievements
Rank 1
 answered on 02 Dec 2008
3 answers
177 views
Hello,

The scheduler control isn't tall enough to show the entire day's schedule.  I was wondering if the general practice is to set a manual height, or if there's another setting I can use to set a relative height to show the work day's schedule in the same view without scrolling...  Figured it was setting the height of the control, but wasn't sure if there was another way.

Thanks.
Peter
Telerik team
 answered on 02 Dec 2008
1 answer
94 views
I need to access column uniquename in sortcommand event. Rightnow i am getting DataField name (through e.SortExpression) . But for some senario i want to get column unique name as well. Is the any way to do that.
Daniel
Telerik team
 answered on 02 Dec 2008
7 answers
745 views
I have a Grid with Link Columns.

When I export to Excel, all the data appears in the excel file except the data in the columns that are Links.

I have these Settings :

 Me.ExportSettings.ExportOnlyData = True
 Me.ExportSettings.IgnorePaging = True
  Me.ExportSettings.OpenInNewWindow = False

Is this related to ExportOnlyData being True ?

If so, How can I export the data without showing the Filters in the Excel file even if ExportOnlyData = False ?
Joseph
Top achievements
Rank 1
 answered on 02 Dec 2008
1 answer
133 views
I have a requirement to maintain  the state of context menu across the application.

Eg: If I selected a particular item in the context menu and that item should be highlighted with a different color. Next time again if I open the context menu, the selected menu item should be highlighted with that specified color.

Is there any method to achieve this requirement?

Thanks in advance.
Daniel
Telerik team
 answered on 02 Dec 2008
1 answer
109 views
Hello,

I have two pages.  On the first page I have a radgrid that is populated with data.  In one column of this grid, I have three hyperlink controls that allow me to navigate to different pages based on which Hyperlink control I click.  One of the Hyperlink controls is "Copy."  When I click "Copy" I need to go to a completely different page that has a radgrid with a copy of this item.  I can get to the next page without any problems, but right now my second page is just exposing an empty "Insert" form.  What I need is for some of the fields on this insert form to be populated with data from the previous page's item.  Any ideas?  I haven't been able to figure anything out on this as of yet.
Princy
Top achievements
Rank 2
 answered on 02 Dec 2008
4 answers
134 views
Hi,

I have customized advanced edit template for my application. On Update click I'm not able to get the data from the drop down selected and the textbox:

 Below are FormCreated and AppointmentUpdated methods.


protected void RadScheduler1_FormCreated(object sender, Telerik.Web.UI.SchedulerFormCreatedEventArgs e)
    {
        if ((e.Container.Mode == SchedulerFormMode.AdvancedEdit) || (e.Container.Mode == SchedulerFormMode.AdvancedInsert))
        {
            //List of Labs based on the User
            DropDownList UserPI = (DropDownList)e.Container.FindControl("PIList");
            UserPI.DataSource = userData.GetLabByID(Request.Cookies["userInfo"]["UserID"].ToString());
            UserPI.DataTextField = "LabName";
            UserPI.DataValueField = "LabID";
            UserPI.DataBind();

            TextBox NoOfPlatesTextbox = (TextBox)e.Container.FindControl("NoOfPlates");
           
        }
    }

On Update I want to get the DropDown selected value and textBox text

protected void RadScheduler1_AppointmentUpdated(object sender, Telerik.Web.UI.AppointmentUpdateEventArgs e)
    {
           //This does not work
            pcrData.selectedPI = UserPI.SelectedItem.Value.ToString();
            pcrData.numberOfPlates = NoOfPlatesTextbox.Text;
       
    }

Is there any work around??


Thanks,
Vamshi.
Peter
Telerik team
 answered on 02 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?