User Profile & Activity

Jean Nguimbus Member
Page
of 5

Works great. 

Thank you.
Jean

Hello Riendy,

Thank you.  Your sample worked based on the explanation I gave you. Unfortunately, I gave you incomplete information. So this solution solved only half of the problem.  I have attached a new simple so that you can see what I am trying to do.

Basically, I need to select and retrieve records into Table 2 based on criteria in textbox and dropdown list, and simultaneously hide (or not retrieve) all rows in Table 1 that have the same TaskID and Subject as rows in Table 2.

Could you please adjust the attached sample to help me to achieve this scenario?

Regards

Jean

Hello Martin,

Thankyou; your code works great.  I am using 5 bars in the Navigation Pane, and I need to be able to update the content of the first three bars (from the top) at runtime.  However, the DOM tree in your code, copied below, is for the first bar.  I tried to modify in order to access the IFrames of the 2nd and 3rd bars but was unsuccessful.  Could you please modify the line below and give me a tree for 2nd bar and a tree for 3rd bar ?  

Regards,
Jean
xxxx.Parent.FrameObj.childNodes[0].childNodes[0].childNodes[1].childNodes[0].childNodes[0].childNodes[0]

Hello Martin,

Thank you for your reply.  But this is not what I am looking for.  I am looking for the ContentURL, not the TargetURL.  In other words, I need the webpage to appear inside the iframe of the NavBar, not in a separate window. 

In Pane Manager, I would use WebPaneName.SetContentURL("http://www.Intersoftpt.com") to insert your web page in the iframe of a WebPane.  But I am using Navigation Pane here and the SetContentURL method is not available; so how do I insert a web page in the iframe of a NavBar at client side, when the bar is using IFrame ContentMode? 

Regards,

Jean

 

 

 

Hello,

 

Any fix on this issue?

 

Regards

Jean

 

 

Handy,

Thank you for your reply.

If it is going to take time in order to upload the fix on your live sample site, then I would appreciate you posting the fix here or sending it to me by email as soon as it is available.

Regards,

Jean   

Hello Handy,

Please run the attached sample to see the error (you will need to add the bin and images folders).  I simply deleted row No. 3 from the Resources Table in the Car Rental database to produce this error.

If you click on the small info button for car No. 3 (as shown by red arrow in attached screenshot), you will get the error, because this car (which is now positioned 3rd under Cars in the scheduler) corresponds to row No. 4 in the database but the script is looking for row No. 3, which no longer exist in the database.

Furthermore, after car No. 3, the detailed information (which appears in the rightmost bottom pane) is wrong for every car.  

So for a scenario where it might be necessary to delete some records from the database, without reseeding the identity column, how do you prevent this error?

Regards,

Jean

 

Hello,

Yudi's proposed solution works beautifully.

Thanks.

Jean

 

 

Posted: October 28, 2010 10:18 AM

Never mind.  I got this working beautifully with WebFlyPostBackManager.

Thanks

Jean

Posted: October 27, 2010 12:54 PM

Thanks.  I like this latest version even better. 

I need to use this snippet in a scenario that requires loading new documents in the editor on the fly, with a click on something.  This works perfectly using WebButton, but in FullPostBack.  Is there a way, using any controls (WebButton, WebToolBar, or WebListBox), to do this in FlyPostBack as well? 

Using one of your provided mailmerge samples, I have tried the following, with no success:

C#

    protected void WebButton1_Clicked(object sender, ISNet.WebUI.WebDesktop.WebButtonClickedEventArgs e)

{

       if (WebButton1.IsFlyPostBack)

       {

            WebTextEditor.LoadContentFromFile(server.MapPath(./SampleHtml/Invitation.html"), true);

            WebButton1.ClientAction.RefreshModifiedControls();

      }

}

 

ASPX

<ISWebDesktop:Button ID="WebButton1" runat="server" height="20px" Text="Web Button" Width="100px" AutoPostback="true" OnClicked="WebButton1_Clicked">

<ISWebDesktop:WebButton>

All times are GMT -5. The time now is 7:26 PM.
Previous Next