.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

RichTextField Toolbar repositioning

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#


We have a big RickTextField where the content is very large and basically fills/spread accross the screen vertically (More than one screen). User generally scroll down to add the content. For example the user is maintaing a Glossary (Alphabet) index in the RichTextField.

So what user does is, Edit the page, go to the RickTextField and add the content accordingly. Now, come the part which user is fustrated from. Everytime the user add a new content at the bottom, he has either has to drag the toolbar which opens up at the top to format the content or select the content and go on top where the toolbar is ther and do the formating without seening what/how the content is looking line. So there are lots of scrolling/dragging, which is very annoying to them.

What they want is as they scroll down with RichTextField, the toolbar also scroll down, this will allow then to edit the content (Bold, Italic, add url etc) without dragging the toolbar.

So, is there any way to move the toolbar as user scroll within RickTextField. I am lookinig for some ready made solution. I am sure there would be some solution done using JQuery.

Based on the content placeholder id the id of this toolbar gets created. In my case the id is *ctl00_PlaceHolderMain_Content_ctl00_RichHtmlField_displayContent_toolbar*.

I hope I am able to put

View Complete Post

More Related Resource Links

How to hide 'no actions' on BDC toolbar


On my BDC list web part, I want the pager feature on the toolbar, but not the 'actions' drop down on the toolbar itself, since it never has any actions in it.

Follow up bonus question, why does that 'Actions' option appear there anyway?  It never has any actions that I can find.

Can you actually assign some sort of action there (as opposed to the line items actions in the web part).



Where is Format Document icon to add to toolbar in VS2010


For years now, I always added the "Format Document" icon to my HTML Editing toolbar.  It always was difficult to find this in VS2008 and VS2005.  It seem it has been completely eliminated in VS2010.

Does anyone have any idea where is might be in the Customize toolbar myriad of commands?

I realize it is available under the Edit drop down menu as well as keyboard command Ctrl K, Ctrl D.  But is is just so much more helpful to put it on the toolbar.

Thanks in advance for your help!

How To: Refresh Menu or Toolbar content

Hey all...in my WPF main window, I have a Menu defined with several elements and it is using a Markupextension to do the binding of the content.   <MenuItem Header="{extension:method Label}"/>   I want to be able to re-initialize the menu so it refreshes the labels. (I also need to do this on other elements as well) I saw some examples using WeakEvents to do this but it looks like the menu or window has to be bound to it. When I tried this, my EventManager kept on dropping the listener after two passes. Is there another way to do this other than coding it: mnuItem.Header = DomyFunction("Content")   TIA AndrewAndrew MacNeill (MVP VFP)

adding Window Media Player into IE Toolbar

Hello: I am facing a problem in adding a Window Media Player Control into IE ToolBar. I found a project written in C# on Code Project site that can add a text into IE toolBar. But I can't add the window Media Player into IE. The Project I found constitutes of 2 projects BandOjLib and SampleBars window Application C sharp where the development is happening in it. So what you do in SampleBars project will be embedded into BandObj Project after compilation and start without debugging both BandObj and SampleBars respectively. When I am adding the Window Media Player into TOOLBOX, then to drag it into window Form => it gives me this error: Assembly generation failed -- Referenced assembly 'AxInterop.WMPLib' does not have a strong name. I have tried to give it a strong name but with no vain???? I am sending you the project link http://www.codeproject.com/csharp/dotnetbandobjects.asp?select=1113574&df=100&forumid=3788&noise=1&mpp=50&fr=51#xx1024015xx. So please if you have any advice try to inform me.   Regards, R0nda

Extended control in the ToolBar

What kind od project i need for that? I tried "ASP.NET Server Control" but the class inside this type of project does not have designer. I need to be able to drag and drop the things in designer and then code against them.I would like to upgrade the createUserWizard control and have it available in the toolbox.Namely i am using this control pretty often and usually i always add some extra things to it (the very same fields).So i thought it would be handy if i could have it as control in the toolbox. Thank you

Click event for added RibbonButton in quick access toolbar

Hi! I'm using the new RibbonWindow from Microsoft. When I add a ribbon button to the quick access toolbar at runtime (via right click => add to quick access toolbar) and I click on the button in the quick access toolbar, the associated click event is not fired. It seems, the toolbar makes a copy of the original button, but does not copy the click event handler. How do I detect a click on the newly added button? Thanks! Jus    

New Toolbar for sharepoint document Library

Hello, how can i add new toolbar which contains all my fucntionts and actions to effect the document Library in the same page? Note: i don't want to customize in the existing toolbar in the page i need new one. Thanks in Advance

IE .net toolbar (C# Zolnikov's Toolband and .net kbbar) on IE 7: toolbar unmovable!

hi,I'm developping a C# IE toolbar, which work well with IE 6, but I noticed a problem with IE 7 beta 2: the toolbar cannot be moved! It's acting as if the "lock the toolbars" were checked. The problem occurs with both the .net kbbar (http://support.microsoft.com/default.aspx?scid=kb;en-us;821793) and Pavel Zolnikov's toolband sample (http://www.codeproject.com/csharp/dotnetbandobjects.asp).But with ATL/MFC or WTL toolbar samples, there is no problem, as there's none for toolbars like the Google one.Do you have any idea how to make such a toolbar act as in IE 6?Thank you very much for your help!Thibaud

Don't see tab and toolbar of the report manager application after installing sql server reporting s

Hello everyone: I have tried to install and configure Reporting Service. I found lots of  errors along the way. The first one was an error (500.23) from IIS7. I applied the suggested solution on the IIS screen which was migrating configuration using AppCmd ( %SystemRoot%\system32\inetsrv\appcmd migrate config "Default Web Site/"). Next problem was  : Request is not available in this context Stack Trace: [HttpException (0x80004005): Request is not available in this context] System.Web.HttpContext.get_Request() +3465893 Microsoft.ReportingServices.UI.Global.get_ConfigurationManager() +47 Microsoft.ReportingServices.UI.GlobalApp.Application_Start(Object sender, EventArgs e) +32  This error was caused by the fact that Report Server and Report Manager were configured to DefaultAppPool in the Reporting Service Configuration Manager. I have switched to Classic .Net AppPool  for both Report Server and Report Manager and it has fixed the problem. Now my problem is that the Report Manager Application ( http://localhost/reports/folders.aspx ) shows no tab, toolbar or folder. What I now have on the Report Manage Application page is the header with the title and [home] and [Help] button links on the top right corner. I have made a report to test the problem but no folder shows o

removing new document and new folder from toolbar

hi, is there a way to remove new document and new folder from toolbar using jquery or javascript

Mouse Drawing in Bitmap and repositioning bitmap

Dear Friends,                  I have made an application similar to this: http://www.bobpowell.net/simpledraw.aspx. But I have made few changes like I have used only the mouse draw option where the drawing is zoomed to specific level with Matrix transformation and I have snapped the mouse to the current mouse coordinates. The programe is working fine. Problem arises when I try to place the same bitmap in X and Y axis many time. After placing bitmap in both the axis once again repositioned the mouse like whenever the mouse is clicked on repositioned bitmaps it draws into the original bitmap and displays the image in all positioned bitmaps. I have solved the mouse back tracking issues.                   The major problem I face here is that when the mouse crosses one bitmap to another bitmap it ticks a continuous line. That is whenever mouse crosses 0th pixel to the last pixel of previous positioned bitmap or from last pixel to 0th pixel of next positoned bitmap. Whereas I need smooth mouse drawing programme with bitmaps positioned many time so that the drawn image should look continuous. I couldnt give code because it is huge.               &n

Enable/disable show Quick launch toolbar option programatically

Hi all, Is there a way to enable/Diable(check or uncheck) show Quick launch toolbar option programatically. I am working in both winXP and windows 7. Regards Goutham

InfoPath toolbar button name change


How do I change the name of the buttons on the InfoPath toolbar? I want to change the names of the Save and Submit buttons to display something else.

Using browser / URL to load report, with rc:Toolbar=false, report does not refresh


I've got an app that hosts a browser control. In it, I loop through a set of reports (displaying a dashboard of them). The problem is, I don't want the toolbar to display, so I'm using rc:Toolbar=false. This gets the toolbar to not display, but the problem is, the reports don't refresh (I have timestamps in the reports, and they remain the same).

I'm not caching the reports- I have them set to the default setting of run the report each time.

So, how can I get both the toolbar hidden AND the report to be refreshed? I tried looking at the stylesheets, but can't figure out how to hide the entire report toolbar using those.



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend