User Profile & Activity

Martin Lie Support
martin@intersoftsolutions.com
Page
of 43

Hello,

As mentioned in our ClientUI Docs under section Positioning a Window at Startup (http://www.intersoftpt.com/Support/ClientUI/Docs/WindowOverview.html), UXWindow has 3 values to position a window, which are Auto, CenterScreen and CenterOwner.

If you want to manually position a window, you need to set the WindowStartupLocation to Auto, and then set Left and Top properties. Here is the following code:

<Intersoft:UXDesktop x:Name="uxDesktop" Background="{x:Null}" TaskBar="{Binding ElementName=desktopDock, Mode=OneWay}">
   <Intersoft:UXWindow x:Name="wndHome" IsClientVisible="True" IsActive="True" WindowStartupLocation="Auto" Top="0" Left="800">
      <local:Welcome/>
   </Intersoft:UXWindow>

</Intersoft:UXDesktop>

Hope this helps.

 

Thank you.

Posted: January 11, 2011 10:10 AM

Hello,

I'm not sure if there is a limitation in IE6 browser.

I suggest you to watch the post data that is being sent to the server from both IE6 and IE7, and then compare the differences.

The error might occur in your own implementation.

 

Thank you.

Posted: January 11, 2011 10:02 AM

Hello,

The issue doesn't occur on my end. When I click node 1, node 2 and the other nodes and go back to node 1, it still gets the value correctly.

I have attached a sample file for your reference.

To get and download the latest hotfix, you may run Update Manager which is located in [Installation Folder]\Intersoft Solutions\WebUI Studio for ASP.NET\WebUI.NET Framework 3.0\UpdateManager\ISNet.WebUI.UpdateManager.exe.

Hope this helps.

 

Thank you.

Posted: January 10, 2011 2:05 PM

Hello,

You can use node.Text to obtain the selected node in OnNodeSelect Client-side event.

The following code works on my end

function WebTreeView1_OnNodeSelect(controlId, node)
{
   var WebTreeView1 = ISGetObject(controlId);
   var url = node.Text;

   if (url != "")
      alert(url);
   return true;
}

Hope this helps.

 

Thank you.

Hello,

HorizontalAlignment is not working too on my end. However, I will try to discuss with the developer team on how to set the custom control's alignment to the right.

Meanwhile, you can put the local custom control inside UXWindow and set the Margin property from UXWindow control such as following: 

<Intersoft:UXDesktop x:Name="uxDesktop" Background="{x:Null}" TaskBar="{Binding ElementName=desktopDock}">
   <Intersoft:UXWindow x:Name="wndHome" Margin="600, 0" IsClientVisible="True"  IsActive="True">
      <local:Welcome/>
   </Intersoft:UXWindow>
</Intersoft:UXDesktop>

Hope this helps.

 

Thank you.

Posted: January 10, 2011 11:44 AM

Hello,

Are you running WebCombo under WebGarden environment?

I have discussed with the developer team about your issue. They suggest you to set ViewStateStorage to None, but there are few things that need some attentions as well.

You might want to refer to our WebUI Framework Documentation on ViewStateStorage usage. It is located in Start Menu >> All Programs >> Intersoft WebUI Studio 2010 R2 >> WebUI Studio for ASP.NET >> WebUI Framework 3 >> WebUI.NET Framework 3 Documentation (Visual Studio 2008).

Open the documentation and go to About WebUI Framework 2007 R2 >> New Features in 2007 R2 >> Best practices and common scenarios for ViewStateStorage™ usage.

Again, it is a little bit difficult for me to trace the error since I don't have the sample that can replicate your issue.

Hope this helps.

 

Thank you.

Posted: January 5, 2011 11:40 PM

Hello,

I'm sorry but I couldn't trace the error based on your given StackTrace error. What I need is the simple sample that replicates your issue, so that our development team can contribute to help you with.

Does your project work in your development environment?

Is there any possibility for me to perform Remote Desktop connection into your PC, so that I could directly investigate your project and find any solution?

 

Thank you.

 

Regards,
-Martin-

Posted: January 5, 2011 10:51 PM

Hello,

You can perform FullPostBack when the ProgressBar reaches 100% by implementing __doPostBack() method in OnFinished Client-side events.

You can add the following code in FreshMartFrom.aspx sample file to implement FullPostBack:

function ProgressBar1_OnFinished(controlId, endTime, value, caption)
{
   var progBar = ISGetObject(controlId);

   var duration = progBar.EndTime - progBar.StartTime;

   var btnSect = document.getElementById("btnSection");
   var progSect = document.getElementById("progSection");

   progSect.style.display = "none";
   btnSect.style.display = "";

   document.getElementById("lblStatus").innerHTML = "Save complete in " + (duration / 1000).toFixed(2) + " second(s)";

   __doPostBack("FreshMartForm", "");
}

FreshMartForm is the div id of the page. When the ProgressBar finished its loading, it will perform FullPostBack.

Hope this helps.

 

Thank you.

Posted: January 4, 2011 11:36 PM

Hello,

You can use InitializeNode Server-side event to implement the following code:

protected void WebTreeView1_InitializeNode(object sender, ISNet.WebUI.WebTreeView.WebTreeViewNodeEventArgs e)
{
   if (e.Node.Text == "WebGrid.NET 3.5")
   {
      e.Node.CustomStyle = "cursor: hand;";
   }
}

Attached is the sample for your reference.

Hope this helps.

 

Thank you.

Posted: January 4, 2011 11:12 PM

Hello,

I couldn't replicate your issue on my end. It would be difficult to trace the issue based on your provided error.

Could you send me a simple working sample that replicates your issue?

 

Thank you.

All times are GMT -5. The time now is 6:52 PM.
Previous Next