User Profile & Activity

Dasha Fedorova Member
Page
of 4
Posted: October 20, 2009 4:02 AM

Thank you, Yudi, this last suggestion with the "!important" statement worked.

Dicky,

I've also found that the double quotes work.  However, we operate in  a 100% dynamic environment, and thus do not always have control over the format in which the Resources text comes in.  The single quote is an acceptable html format, and so it's only reasonable to expect that some of our data may come in formatted this way.

Thank you for your help,

Dasha.

Posted: October 7, 2009 7:59 AM

Hello,

If it help to diagnose the problem, I'm attaching a screen shot of what we see in SharePoint using Firefox.  Setting the Grid Height to auto does not seem to calibrate the grid's height to fit the data, but rather sets it at some fixed value.  The secod grid on the page displays a vertical scroll bar and runs off the page.  I'm also attaching a modified ClassicPaging example page from the LiveSamples to show that the second grid displays a vertical scroll bar here as well, even though the settings are identical.  Perhaps it's a css issue.  Any help on this matter would be invaluable.

Posted: October 2, 2009 6:21 AM

Gordon,

Thank you for this example.  I see that when you initially tab into the menu, the whole thing is selected, and then you press tab again, and the individual menu command is selected.  This is not happening in the SharePoint environment for some reason.  I tab over the menu bar, and it gets selected, but clicking Tab again, moves to the next control on the page instead of the individual menu command.  Can you please try your example in a SharePoint environment to see if you can replicate?

Posted: October 2, 2009 5:58 AM

Yudi,

When we initially started trying to style the column headers this was the way I attempted to modify the styling the way that you're suggesting on the server side.  For some reason I was never able to see any effect.  I was able to influence the headers' background color, the borders, anything, but not the font styling. I can even set the bold/italic/underline on the server side through code - everything but the font name and size.  I don't know if it's the SharePoint environment interfering, or some other factor, but in the end, the only thing that I was able to get working is setting the font style this way:

protected void WebGrid1_InitializeLayout(object sender, ISNet.WebUI.WebGrid.LayoutEventArgs e)
{
   WebGridColumn column = WebGrid1.RootTable.Columns.GetNamedItem('ColName');
   column.Caption = '<div style="font-family:Comic Sans MS;font-size:X-Small;">ColName</div>';
}

I'm not really sure what the problem is, but I've spent way too much time trying to set it the easy and 'pretty' way.  I put the setting just about everywhere I could on the server side, and I never saw ANY effect, except when I finally went directly to the column's .Caption property.

So if there's any javascript workaround that I can use to control the text that's displayed in the Selected Columns menu, that would be great..

Posted: October 1, 2009 12:14 PM

Gordon,

We're using 2009R1 SP1.  We're also using a javascript workaround that you guys gave us some time ago that allows us to expand items on mouse-over and then close tham after a set time. This was issue IS-190EC4BC-463E-4440-9735-48560DDF86FD, so you can look it up.

Posted: October 1, 2009 5:13 AM

No errors appear when I try to expand the web part menu.  Nothing happens on the page, as if my action is completely ignored.

Posted: September 29, 2009 11:08 AM

Glenn,

Your solution works great in most cases, but when I'm using it in FF with the Fields List initially hidden, the <br /> is ignored when I click the button and show it.  If I have the Fields List exposed on intial load, then the line break is respected, but if the Fields List hidden initially, then I see what's in the attached image.  Any ideas?

 

Thank you,

Dasha.

Posted: September 29, 2009 3:54 AM

Gordon,

I'm still unable to expand WebMenuBar's MenuCommands by tabbing into the WebMenuBar.  Once I mouse-click a MenuCommand, the items expand just fine, and I'm able to use the arrow keys to navigate the MenuCommands.  But how can I expand the MenuCommand initially without using my mouse?  We're trying to achieve 508 compliance in our product, so this ability is pretty critical.

 

Thank yo for all your help,

Dasha.

Posted: September 24, 2009 3:20 PM

Gordon,

Thank you for this example.  I see that you click the web menu bar to begin using the keyborad navigation.  Is there a way for me to tab into the web menu bar and begin expanding items?  I was looking at our online sample, and I can't expand any items using the arrow navigation.

Dasha.

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