User Profile & Activity

A Yousif Member
Page
of 29
Posted: June 2, 2011 8:53 AM

Hi Lili,

Has this been added to 2011 R1?  We have tons of workarounds we're using for features we've requested and would like to know if this, among them, has been added to 2011.  Thanks.

Martin,

What's the latest on the two issues discussed here?  Have both issues been addressed by 2011 R1?

Yudi,

What's the latest on this please?

I appreciate the update.  Thank you.

...About the offset bug, may I know when do you report and to whom were you reporting this issue?...

See the answer in this thread.

Posted: March 25, 2011 12:38 PM

Regarding the bolding of our "default" menu item, I'm now using client-side JavaScript to set this using this:

oMenu.CommandStyle.Object.style.fontWeight = 'bold';

Why can't I do this, i.e., set the styles, for each individual menu item on the server side?  Or if I can, would you show me how as I can't seem to figure it out.  Thank you.

Posted: March 24, 2011 10:20 AM

Here's how I'm getting around the right-justification issue on the menu.  It's not ideal as it shows the menu "bounce" from left to right as the process below is executed.  I'll have to try to hide it and then display it afterward.

var arRows = oMenuBar._HtmlObjH_tbl.getElementsByTagName("tr");
var arMenuColumns = oMenuBar._HtmlObjH_tbl.getElementsByTagName("td");
var iCols = arMenuColumns.length;
var padCellClone = arMenuColumns[iCols - 1].cloneNode(true);
arRows[0].removeChild(arMenuColumns[iCols - 1]);
arRows[0].insertBefore(padCellClone, arMenuColumns[0]);

So basically, clone the "pad" cell on the end, remove it and then insert the clone at the beginning.  This accomplishes what hopefully you can add to the control soon in a hot fix/patch/addition.

Posted: March 24, 2011 9:10 AM

Can you please provide specific steps?  I don't see how to change the div tag on the server side.  Why isn't this a simple property on the control?  Please pass the request on to development that we need these features on this control as I'm sure it'll also benefit other users.  Thank you.

Regarding the bolded item, we need only ONE item to be bolded as the default menu item, e.g.,

Menu1     Menu2     Menu3     Menu4

Correct me if I'm wrong, but I believe the CommandStyle property applies to all menu items does it not?

Posted: March 15, 2011 3:26 PM

Hi,

I found what was causing this.  We use the Flesk.NET Accelerator and ViewStateOptimizer to optimize our pages by compressing resources and storing view state server side.

It looks like the combination of using these and loading the pages in Visual Studio's development server causes the resource to not load.  In this case, the ISRes.axd specific to the grid's style sheet was not loading for some reason.  The JavaScript resources loaded just fine.

I had to filter the ISRes resource files and that fixed the problem as it loads fine now.  If anyone else uses these utilities, here's how I filtered it in web.config in the appropriate section:

<Exclude Match="ISRes\.axd" />

 I hope this helps anyone else.  As before, it works fine under a published site in IIS.

Posted: March 15, 2011 11:59 AM

I wanted to post an update.  Note that this only happens under the Visual Studio development environment and only started recently.

When I publish the application on the same development machine and navigate to it, the context menus work fine.  So only under the development server does this happen.

All times are GMT -5. The time now is 10:41 AM.
Previous Next