+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Search box issue

Search box issue

3 posts, 1 answered
  1. Nimit
    Nimit avatar
    90 posts
    Registered:
    27 Mar 2009
    19 Feb 2010
    Link to this post
    Hi There,
    I am having an issue with search box control. I'll explain whats happening.
    I drag and drop the Search Box control and in the edit mode added the page link with the Search Results control.
    it is fine till this point, but as soon as I add Index and click I'm done it gives me following error in the Search box:-->

    "Error Rendering Control - tm_SearchBox1

    An unhandled exception has occured.
    Page cannot be null. Pleae ensure tat this operation is being perfomed in the context of ad ASP.NET request."

    If I leave the error and publish the changes and search something it works absolutely fine. But in the edit mode of the page it gives the error defined above in the search box.

    Please reply ASAP,

    regards
    Nimit Verma

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    19 Feb 2010
    Link to this post
    Hello Nimit,

    Thank you for using our services.

    Do you have any customizations over the Search Box? I am not able to reproduce this with the standard one. For example if you have substituted the asp:Textbox in the template with a RadTextBox for example you might experience this. The reason is that the page on which the search box control resides is null in page edit mode and AJAX controls need the page in order to subscribe to its script manager. This should not be a reason for concern as the control will normally work when viewing the page in normal mode.

    Best wishes,
    Radoslav Georgiev
    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.
    Answered
  3. Nimit
    Nimit avatar
    90 posts
    Registered:
    27 Mar 2009
    19 Feb 2010
    Link to this post
    Hi Radoslav Georgiev,
    Thank you for your quick response, Yes I'm using a RadTextbox.
    I was thinking to leave it as it is coz its working fine when i am not in the edit mode.

    That you again,
    regards,
    Nimit Verma.
Register for webinar
3 posts, 1 answered