|
N a v a n e e t h wrote: Do you mean the modal window ?
No, the configuration is: main form -> modal child -> modeless child, and I am clicking outside the modeless, outside the modal, and inside the main form. I would like to intercept the click and make the modeless disappear.
It's a kind of tooltip
"la dolce ossessione degli ultimi suoi giorni tristi,
Venezia, la vende ai turisti" rechi
|
|
|
|
|
hi all,
can anybody tell me how to read html file in a string?
Thanks in advance
Gaurav Malhotra
Gaurav
|
|
|
|
|
You can use streamreader class to open the html file as a text file and read it in a string but it will contain all the tags. If you don't need them, you'll need to parse the string.
|
|
|
|
|
just simple as text file !!!
|
|
|
|
|
Dear friends,
i have developed my project in .net 2005(c# with asp.net2.0). After that i have uploaded to our server. when i try to access that page it wil show some error msg like below,
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized configuration section 'connectionStrings'
Source Error:
Line 10: <configuration>
Line 11: <appsettings>
Line 12: <connectionstrings>
Line 13: <system.web>
Line 14:
|
|
|
|
|
Hi,
while creating a Windows Control library how can i add Tooltip for that property? means while i select the property it will give the description on tooltip.
means while select MyControl.Property, a tooltip descripton will show.
Please help.
Thanks in advance...
|
|
|
|
|
Abhijit Jana wrote: means while i select the property it will give the description on tooltip.
I am not clear with your question ? Where do you want the description to appear ? Down to the property bar ? or as a tool tip when mouse points ?
|
|
|
|
|
Thanks ... for reply
N a v a n e e t h wrote: as a tool tip when mouse points ?
I want in this situation . While i am going to select any property descripton will come as Tooltip like all other proerty.
|
|
|
|
|
Abhijit Jana wrote: While i am going to select any property descripton will come as Tooltip like all other proerty.
Still not clear. Ok see the following samples
[Description("This is a tooltip")]
public void ToolTip
{
get{}
set{}
} Description is an attribute used to show the property description on the VS property bar for your control. If you want to show the description when mouse points over the property in code window, you need to enable XML documentation.
public void ToolTip
{
} Now take the control library property pages and set XML documentation file. This will generate a XML documentation file when you compile the library. When adding reference to the library, copy this XML file too ( I think in VS2005, this will copied automatically). Now VS editor will show tool tip when you move mouse over to the property.
Let me know if it works.
|
|
|
|
|
N a v a n e e t h wrote: Now take the control library property pages and set XML documentation file. This will generate a XML documentation file when you compile the library.
Can you exaplain this section in details...
Thanks for your help... please help me to do this ...
|
|
|
|
|
In C#, all the XML documentation for Methods/Properties will be stored in a XML file. When you are deploying your control, you need to deploy this XML file also to get method documentation visible on the client machine. So visual studio editor automatically identifies this XML file and fetch the documentation from here and displays it when we move mouse over or when we see description of a Method/Property.
Hope it helps
|
|
|
|
|
|
Hi, I am now trying this.... I will definately let u know....
Thansk for your support....
I will definately inform you...
Thanks man....
|
|
|
|
|
I am not able to get the section from where i will generate the XML Documentation.
Please help
|
|
|
|
|
In VS 2003, it's from Property Pages -> Configuration properties. But it is changed in VS2005. Look in the Property pages
|
|
|
|
|
Thanks man....
I have done it......
Thanks ....a lot.....
I have followed all the steps you have mention.....
I should vote for your Help !!!!!
Great!!!!!
|
|
|
|
|
Welcome, That is one of the cool feature in .NET. It allows to create XML documentation easily by the commented code. Using XSLT to this, you can prepare an interactive documentation.
|
|
|
|
|
Tell me one more thing, if i want to share the dll file that i have made, then i haev to give the XML file also or not ??
|
|
|
|
|
Abhijit Jana wrote: i haev to give the XML file also or not ??
Yes you have to supply that too
|
|
|
|
|
Thanks Man!!!!
|
|
|
|
|
hi all,
I know the concept of boxing and unboxing but do no the condition where we have to box and unbox a value. can somebody give me an example that when we need to do this?
Thanks in advance
Gaurav Malhotra
gaurav0903@gmail.com
Gaurav
|
|
|
|
|
It's a bridge between value types and reference types. Using boxing, any value types can be treated as an reference type. Boxing/Unboxing helps to get a unified view of type system(MSDN).
|
|
|
|
|
|
hi Gaurav,
importance of Boxing and unboxing concept could easily be understood by the ArrayList class,
As u can see that the Arraylist is capable of storing any objects, this is bcoz of boxing and unboxing... this is mainly possible, since all the objects will be inherited from the class called object....
Life is beautiful!!!
|
|
|
|
|
A common example of the use of boxing, is when you send values to the Format method:
string.Format("{0}: {1:C2}", name, price);
Here, the parameters following the format string are of the type object. Value types are boxed so that they conform to being objects.
This way you can mix any data types in the call to the Format method, without there having to be an infinite number of overloads to accomodate for any combination of types.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|