|
[Description("my simple description")]
[Browsable(true)]
[Category("Events")]
public event LoginClickEventHandler LoginClick;
Check whether you previous one is compiling properly if not use the above code.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
I really thank for your help, but i'm sorry to say that it didn't work for 'Events' properties pages.I've already tried it but in Properties windows it didn't show an Events tab (which icon is a yellow thunderbolt).
Why?
thank =)
|
|
|
|
|
For webcontrol you can define custom events but they cannot be displayed in properties window.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
|
Why you are not test it with your application ?
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
check authentication if loged in user is not authenticated redirect it in a login page whith error message in a queiry string and find that queiry string in login page and display message which u want
|
|
|
|
|
hi ,
My problem is that i want to take a print out of my Data which is bind with Gridview.For that i have used window.print.but the problem is that in my gridview there are 100s of records for that i have used paging.when i m giving my print command it print only one page even it has 100s of records .and i want to print all the records which bind to the gridview.i dont want to use another page for displaying all the records and give the print command.i want to acheive my target with only single page.
tell me how can i achieve my target..
thanks in advance
avesh
|
|
|
|
|
Aavesh Agarwal wrote: i dont want to use another page for displaying all the records and give the print command.i want to acheive my target with only single page.
Might not be possible. Print option depends on the browser, and not ASP.NET. It prints whatever content in the page. If you want to print entire row, you have to show it.
|
|
|
|
|
Then open a new window, there bind gridview without paging and simply print that page. It is the most common way to accomplish the task.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
i want to design a custom gridview control that i can simply add to my toolbox which will enable me to simply drag and drop it on my webpage and set any specified properties that i created. can anyone point me to where i can find out how to do this?
|
|
|
|
|
If you create a gridview derived class, it will appear in your toolbar.,
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
How can I open a small new window and add a close button to it (probebly javascript) in my asp.net project ?
I want to show it when a hyperlink that its url is specefied in my C# code, clicked.
Best wishes
|
|
|
|
|
Add a call to javascript:window.open in the href atrribute of your anchor tag.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
hi,
I used of this code:
Click Me
and by clicking it a new window opens, but self page navigates to "javascript:window.open('2.htm','mywindow','width=400,height=200')" and displays "object"!
How can I stop the first window to navigate?
And if I use :
ASP.Net throws an exception about validation, what is it?
Best wishes
|
|
|
|
|
you can use target="_blank" attribute inside anchor tag
regards
sunil
|
|
|
|
|
hi mehrdad
see this site.
http://www.javascript-coder.com/window-popup/javascript-window-open.phtml
|
|
|
|
|
i have created a data base connection but when the connection.Open() statement is executed i get the following exception
" An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections."
what should i do ...............
thanks
|
|
|
|
|
|
waheed awan wrote: what should i do
Set it up so you can allow remote connections. You do this by going into the Surface Area Configuration manager...
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I heard that using a datagrid control is not good in web applications because some browsers do not display it correctly,
please advice
abdelhameed81
|
|
|
|
|
abdelhameed81 wrote: please advice
sue him/her for giving wrong information.
Regards - J O H N -
|
|
|
|
|
|
Who ever told you that is full of sh*t. Datagrid control has not caused me any trouble in the major web browsers (IE, FF, Opera)...
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hello,
I am a beginner at ASP.NET
Right now i am searching for a way to store images files(jpeg,gif) files into Oracle database and then retrieve them as needed. ( C# only!!!)
So someone please help me!!
|
|
|
|
|
Hi,
You can store the image path (no need the image itself)...hope you can get my idea..
<< >>
|
|
|
|