User Profile & Activity

Eric Hanig Member
Page
of 5
Posted: October 15, 2012 6:12 AM

Hi

Ok the one thing that was missing in my code was:

explorerPane.Panes.GetNamedItem(pane).PaneItems.GetNamedItem(item).GetElement().style.color = "Gray";

 

Adding this fixed the issue client side.  But Server side it still doesnt work.

Any pane items set disabled on server side show as enabled (but cant be selected) in FIrefox, but work just fine in IE.

Eric

Posted: October 13, 2012 12:31 PM

Hi

No, it is the ITEMS in the pane that are the issue.  How are they supposed to be disabled client side, so that they show disabled, in all browsers?  You need to understand that this is a bug, because what works in IE, doesnt work in Firefox.  You need a very specific call to disable items in the pane that is part of the your system, so that different browsers all work the same.

What code do i need to change to make this work?  The following is the code that your team told me to use to disable an item in the pane.  it doesnt work in Firefox.

function DisableBar(pane, item) {

var explorerPane = ISGetObject("WebExplorerPane1");

explorerPane.Panes.GetNamedItem(pane).PaneItems.GetNamedItem(item).Enabled =

false;

explorerPane.Panes.GetNamedItem(pane).PaneItems.GetNamedItem(item).GetElement().disabled = true;

}

Posted: October 11, 2012 11:57 AM

Hi

Read your reply.  You didnt tell me what to do!

How do i resolve this issue?

Also, you are dead wrong.  This is an issue with your system.  If i put in standard formating, and it works in IE, it should work in Firefox.

Eric

Posted: October 8, 2012 8:04 AM

hi

no, we dont ever do client binding anywhere in our system.

Eric

Posted: October 8, 2012 7:20 AM

HI

no, that is not what i need.  What happens is this:

We have a grid, and are editing a cell.  ON the right we have an update button for the entire grid. WHen we click that update button, on the client side, it goes to trigger a server side update like the code above.

What happens though is that the row updates, but the server side update of the grid never triggers.

 

Posted: August 6, 2012 7:49 AM

Hi

 

what i want to do is have when you click on the tab, to have it load the data in that tab dynamically at that point.

Is this better client side or server side and what is the best way to handle it?

Eric

Posted: August 6, 2012 7:44 AM

Hi

i have enclosed the code, as well as screen shots of before and after.

 

Eric

Hi

 

that doesnt change how it works in our system.  It still shows the progress after the server is done.

Any ideas why?  I have attached the actual files here.

 

Eric

Hi

 

i have tried something using your code but something strange happens.  The bar updates AFTER all of the things have processed.  So it will process 10 deletes, and then it will show all at once the 10 steps of the bar, after its done.

 

function ProgressBarIncrement()

{

var progBar = ISGetObject('WebProgressBar1');

progBar.Start();

progBar.DoStep();

}

 

<ISWebEssentials:WebProgressBar ID="WebProgressBar1" runat="server" Height="22px" Width="200px" Visible="true" Mode="Determinate" Value="0" Step="1" AnimationLatency="150" MaxValue="100" Orientation="Horizontal" OnProgressInterval="WebProgressBar1_ProgressInterval"> </ISWebEssentials:WebProgressBar> 

Server code

 

protected void WebProgressBar1_ProgressInterval( object sender, ISNet.WebUI.WebEssentials.WebProgressBarProgressIntervalEventDataArgs e )

{

e.Value =
int.Parse(Session["ProgressValue"].ToString()); //e.Value = progressValue;

}

 

In the Delete process on server.

Session["ProgressValue"] = int.Parse(Session["ProgressValue"].ToString()) + 1;

WebGridCollections.ClientAction.InvokeScript("ProgressBarIncrement()");

Posted: June 4, 2012 4:05 AM

Hi

 

All we want is this.  In the HandleRowSelect function, we want a call or way to determine if this was a double or single click.

 

Eric

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