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

Forums / Deployment / Error while using the form

Error while using the form

6 posts, 0 answered
  1. Tushar Pradhan
    Tushar Pradhan avatar
    20 posts
    Registered:
    27 Mar 2006
    04 Apr 2006
    Link to this post
    Hi,

    I developed a Test site using the SiteFinity 2.5.1, I am incorporating the Deklarit generated .ascx form in the controls.
    Its just a simple form in which I am accepting an input in the text box and trying to store it in the database, but when I click on "Confirm" button to save the data it gives me the following error..

    "Unable to process your request. Session expired."

    I am not sure whats going wrong.


    Tushar
  2. Yavor
    Yavor avatar
    11 posts
    Registered:
    24 Sep 2012
    05 Apr 2006
    Link to this post

    Hi Tushar,

    Unfortunately we cannot figure out this situation without code. Would you please send us your project or at least the user control that does not work?


    Thanks in advance,
    Yavor
    the telerik team
  3. Tushar Pradhan
    Tushar Pradhan avatar
    20 posts
    Registered:
    27 Mar 2006
    06 Apr 2006
    Link to this post
    Hi,

    Sorry for the confusion....
     
    I may have two related questions.
    The code generation tool that I use (Deklarit) creates two pages:
    (a) PersonWorkWith Page and (b) PersonPage with corresponding .aspx and .aspx.cs files respectively.
    Databound Controls within pages. Each page has a databound grid connected to a DataSet.
    (a) PersonWorkWith page has PersonWorkWithComponent control with the corresponding ascx.cs file.
    (b) Person page has PersonComponent control with the corresponding ascx.cs file.
     
    PersonWorkWithComponent has insert/update/delete link which when clicked opens up a PersonPage with the specific Person instance in appropriate insert /update/delete mode.
     
    As I understand it all action in Sitefinity happens within the default page.
    I have created sub-pages in sitefinity corresponding to those provided by Deklarit and embedded the two controls.

    How do I navigate from sitefinity PersonWorkWithPage to sitefinity PersonPage when a particular row of PersonWorkWithControl is clicked?
               
     
    Thanks,
    Tushar
  4. Yavor
    Yavor avatar
    11 posts
    Registered:
    24 Sep 2012
    07 Apr 2006
    Link to this post

    Hi Tushar,

    I have created a 'container' user control which can be filled with some 'outer' page (as in your scenario).

    Open your project with VS and add attached control (container.ascx). Rebuild the project.
    Then you can insert this control in Sitefinity's cells via Cell Control Editor -> Select Cell Control tab (see sel_control.jpg).
    After that you can set the Source property from same dialog -> Control Properties to url of the outer page (sel_source.jpg).

    Your outer pages may be related some way to each other and they may be performing some actions inside the iframe without concerning Sitefinity's logic (in one Sitefinity's page containing container.ascx).

    If you need further help, please let us know.


    Best wishes,
    Yavor
    the telerik team
  5. Tushar Pradhan
    Tushar Pradhan avatar
    20 posts
    Registered:
    27 Mar 2006
    11 Apr 2006
    Link to this post
    Hi Vayor,

                Thanks for the previous suggestion of using the container to add in my aspx pages… it works..

               
    But now I have a new problem arising from this type of design, let me explain the situation..

    I have a PartyTypeWorkWith (sitefinity .aspx) page in which I have embedded the Deklarit control PartyTypeWorkWith.ascx page; which is a data bound grid displaying the data.

    I have another sitefinity .aspx page called Party1Type, in which I have embedded the ‘container.ascx’ page that you have sent.. the source for this container is PartyType.aspx (my deklarit page)

    {Functionality}
    The PartyTypeWorkWith data grid allows insertion, deletion and update operations on the data.

    When you click on one of these operations the Party1Type (sitefinity) page is called and the corresponding parameters are passed.. which in turn gets passes to the embedded page PartyType (deklarit page).. and the corresponding operation is performed..

    Once the operation is performed the control should transfer back to the PartyTypeWorkWith page,

    but what happens here is that when you are in Party1Type page and you click on any button to commit / cancel the operation.. the sitefinity Party1Type page gets called in the container itself, thus forming a nested pages which is not desired..


    Can you help me with this ?

    Thanks
    Tushar..

    p.s. – by the way how do I attach any file, if I have to send u one ??
     
  6. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    12 Apr 2006
    Link to this post

    Hi Tushar,

    It's seems that this issue is getting too complicated to be put into words only. It would be better and much faster if you send us your project along with the needed controls. To do so, please open a formal support ticket and send it as an attachment.
     
    We are very sorry for the inconvenience and we are looking forward to your reply.

    Kind regards,
    Vassil Daskalov
    the telerik team
6 posts, 0 answered