Save an record in ToolTip and Comunicate about it the mainpage

2 posts, 0 answers
  1. Inessa Parfjonova
    Inessa Parfjonova avatar
    7 posts
    Member since:
    Feb 2010

    Posted 09 Feb 2010 Link to this post

    I need to save one new record in tooltip and to comunicate about it the page. How could I do it?

    With this code I load control in the tooltip.
    protected void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)
            this.UpdateToolTip(args.Value, args.UpdatePanel);

        private void UpdateToolTip(string elementID, UpdatePanel panel)
            var idanagraficatipo = -1;
            int.TryParse(ddlCentroRichiedente.SelectedValue, out idanagraficatipo);

            Control ctrl = Page.LoadControl("~/controls/preaccettazione/Anagrafica.ascx");
            controls_preaccettazione_Anagrafica details = (controls_preaccettazione_Anagrafica)ctrl;
            details.IdAnagraficaTipo = idanagraficatipo;

    I try to save record in the control but the problem that after postback I find textboxs empty.

    Thank you,
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 12 Feb 2010 Link to this post

    Hello Inessa,

    I am not completely sure about your scenario but as far as I understood you want to show a user control with textboxes and to save what the user has populated in them e.g on submit button click. I prepared a simple demo which does this but unfortunately to no avail - the textbox value is correctly taken and saved in the Session object and it is not empty. Would you please examine the attached demo and let me know what I should change in order to reproduce the issue with the empty textbox on my side? Once you reproduce it in this very simple demo, share its full source and I will modify and test it on my side and I will do my best to help.

    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top