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


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

How to remove the space for image in the Toolstripdropdownitem on the right side and the space on th

Posted By:      Posted Date: October 07, 2010    Points: 0   Category :Windows Application
 

Hi! Everyone,

I have added a Toolstripcontrolhost with a own usercontrol to a Toolstripsplitbutton.dropdownItems. But there is always the space on the right and left side beside the toolstripcontrolhost. Has somebody any idea about how can i remove them?

I have set the margin and padding of the Toolstripsplitbutton.dropdownItems[index] to 0. But it doesn't help anything. I have also check other threads in this forum about the similar problem with contextmenu. But there is not such property like ShowShortCutKeys = false;
ShowCheckMargin = false;
ShowImageMargin = false; for Toolstripsplitbutton.dropdownItems[index] or for Toolstripsplitbutton.dropdown. Does somebody ever has that problem before?




View Complete Post


More Related Resource Links

How to remove the space for image in Toolstripdropdown

  

Hi! Everyone,

I have added a Toolstripcontrolhost with a own usercontrol to a Toolstripsplitbutton.dropdownItems. But there is always the space on the right and left side beside the toolstripcontrolhost. Has somebody any idea about how can i remove them?

I have set the margin and padding of the Toolstripsplitbutton.dropdownItems[index] to 0. But it doesn't help anything. I have also check other threads in this forum about the similar problem with contextmenu. But there is not such property like ShowShortCutKeys = false;
ShowCheckMargin = false;
ShowImageMargin = false; for Toolstripsplitbutton.dropdownItems[index] or for Toolstripsplitbutton.dropdown. Does somebody ever has that problem before?


How to remove the space for image in Toolstripdropdown

  

Hi! Everyone,

I have added a Toolstripcontrolhost with a own usercontrol to a Toolstripsplitbutton.dropdownItems. But there is always the space on the right and left side beside the toolstripcontrolhost. Has somebody any idea about how can i remove them?

I have set the margin and padding of the Toolstripsplitbutton.dropdownItems[index] to 0. But it doesn't help anything. I have also check other threads in this forum about the similar problem with contextmenu. But there is not such property like ShowShortCutKeys = false;
ShowCheckMargin = false;
ShowImageMargin = false; for Toolstripsplitbutton.dropdownItems[index] or for Toolstripsplitbutton.dropdown. Does somebody ever has that problem before?


Image processing, determine white space and crop

  

Hi,


I have created a image upload for our ID card system to allow users to upload new images, edit them and submit for approval.  This is all working well with a combination of asp.net (c#) and jquery to give a seemless editor etc.

We have had a few users who I cannot believe have scanned a photo of themself and then just submitted it with the A4 page of white and little photo.


I am wondering if anyone can help with a suggestion on how I could possibly reduce the load of these coming through (I can't believe they can be this stupid), it stipulates UK passport standards.


Would my only option be to check for a single continues colour that occurs and if it reaches a certain percentage point say 60% then to just send back an error stating they need to crop the image.

Can anyone help with providing sample or that I can use to move this one on.


I am still in disbelief on this one.  the other one is they take a photo of whole body and other in it and cut straight down middle chopping the people out but supplying a photo that no use for an id photo card....but that I can't imagine being solved programatically as I need to determine where their face dimensions are and what percentage of the actual photo is taken up by it and if it below a threshold reject it.




client side Print issue in Asp.net application when we hosted in webserver(Global, shaired space).

  

I have an asp.net application . I hosted this application in shaired server. When the client is logined this site , they have an option for print the certificate based up on the number of copies.  My questin is right now i generated this one pdf, so pdf it self i can print unlimited copies. So i want to restrict this one by blocking the print dialogbox. I want to print it based up on the number of copies from databsase of a table value.  then how to identify the clint side printer to print this one.

Please give any suitable solution for it to print the number of copies without popup the print dialogshop.

 

So please give a goodd solution for it to print the certificaate in client side based up on the number of copies from database and should be restrict print dialogbox .

 

Requirments is

 Any methord print client side print based up on the number of copies from database and restrict print dialogbox . User should not be prin number of copiest apart from the number of copies from database.

 

Please give me the tips for impliment it. and send me source code for easy understanding

 

Thank You.........


Remove/Hide empty space of quick launch from web part page

  
Hi,

I created a document library, whose type is "Web Part Pages". When I create a new web part page in this document library the quick launch is missing from the pages. There's a gap on the left side of the web part page for about 200px where the quick luanch would have been.

I don't necessarily want the quick launch to show up at this point. But I don't want the empty space in there either. I would prefer that the web part page covers the empty space on the left side. Can you please advise how to fix this? I had created a subsite before where I don't have this problem.

Let me know if it's not clear about what I mentioned above. Unfortunately I can't post an image here to show what I'm referring to.

Thanks,

remove white space between the html tag

  

hi i m using vs2005 for development

i haev desing a one web page with size ( 15 k)

now i want to remove the white space and make it in one single line .


how i can do that , thax


Bitmap FromFile space "file not found"

  

I am using aspose.slides to create PPTx's. Some of the process involves loading jpg's from another server and including them in the presentation. This works fine in my development environment. When I upload the site to its server, the jpg loading fails.

I am trying to access jpg's on the other server by:

   oFS = New FileStream(sFile, FileMode.Open, FileAccess.Read)

This causes an access violation error when run from the server.

I also boiled the code down to reading the file directly:

   oImg = System.Drawing.Bitmap.FromFile(sFilePath)

This causes a file not found error.

We have narrowed the problem down to the fact that the File Path has a space in it. How does one solve this problem (while still keeping the space, there is a lot of legacy data)? I have tried replacing the space with %20 or +. I have tried using Server.UrlEncode. The error message always comes back with the encoding in place (like no decoding

Office Space: Custom Field Types for SharePoint 2007

  

Custom field types provide a powerful way to define a reusable SharePoint column definitions.

Ted Pattison

MSDN Magazine May 2009


Office Space: Custom Auditing In SharePoint

  

Learn how to enable an auditing solution for Windows SharePoint Services (WSS) 3.0 with customized control pages in Microsoft Office SharePoint Server (MOSS) 2007.

Ted Pattison

MSDN Magazine September 2008


Office Space: Automated SharePoint Site Branding

  

Here's a custom branding solution for SharePoint sites that integrates Master Pages and CSS files at the level of the site collection.

Ted Pattison

MSDN Magazine July 2008


Office Space: From VBA Macro to Word Add-in

  

See how to use Word to capture a VBA macro and use Visual Studio Tools for Office to wrap it up into a deployable Word add-in.

Robert Bogue

MSDN Magazine May 2008


Office Space: Simplify SharePoint Development with STSDEV

  

Ted Pattison shows how to use a new STSDEV utility to set up and deploy SharePoint development projects in Visual Studio in an easy and repeatable manner.

Ted Pattison

MSDN Magazine March 2008


Office Space: Security Programming in SharePoint 2007

  

This month Ted Pattison presents an overview of programming security and permissions for Windows SharePoint Services 3.0.

Ted Pattison

MSDN Magazine February 2008


Office Space: Events in SharePoint 2007

  

Windows SharePoint Services (WSS) 3.0 provides a new and improved infrastructure for handling server-side events. In this installment of Office Space, we look at techniques for hooking up Before Events and After Events using both Features and code.

Ted Pattison

MSDN Magazine November 2007


Office Space: Solution Deployment with SharePoint 2007

  

WSS 3.0 introduces a new deployment mechanism that lets you move your development efforts into a staging or production environment.

Ted Pattison

MSDN Magazine August 2007


Office Space: Building Office Open XML Files

  

This new column explores how you can extend and customize Microsoft Office System applications and file formats.

Ted Pattison

MSDN Magazine February 2007


Categories: 
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