|
There are many articles out there on custom controls. Instead of me pointing you just to one of them use this[^]
regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
hi,
i have an query,im working on webportal in asp.net.Basically i have to keep track of remote machine shutdown or up,For this i take input of DNS and connect to that particular server domain from there i know status of machine,this application working fine in INTRANET but when i host this application on INTERNET it will not work when user input the DNS address of that particular server it will not connect and give error,i will show error below.If my concept is wrong to connect the server then please reply of my query how to connect to remote server.please reply ASAP.
error is:-
Server Error in '/' Application.
--------------------------------------------------------------------------------
The requested name is valid, but no data of the requested type was found
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: The requested name is valid, but no data of the requested type was found
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SocketException (0x2afc): The requested name is valid, but no data of the requested type was found]
System.Net.Dns.GetHostByAddress(IPAddress address) +264
System.Net.Dns.GetHostByAddress(String address) +65
try_web.WebForm2.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\try_web\webform2.aspx.cs:81
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292
|
|
|
|
|
I'm writting a search page with 4 options.User can choose
value from 4 dropdownlist(dl1,dl2,dl3,dl4).A dropdownlist can be chose or not.If one is chose,it returns the value;otherwise all the value of it will be search.How can I procedure the result?
Thanks!
regards
zappa
|
|
|
|
|
Hi all,
i have a problem ,i want to add row in the datagrid dynamically.when the user press the enter button in the datagrid last colume,a new row is added in the datagrid...and at the end there is button INSERT ,when i press the button this data is inserted into the database..
some tell me the way how can i add the row dyncamically
with best regards
|
|
|
|
|
|
hello friends,
i want to create a program that can display list of dynamic IP of all the users logged in for a website at anytime.
How is it possible in .NET framework.
with regards
Pawan Mishra
MCA, MCP.NET, MCAD.NET
Pawan Mishra
MCA, MCP.NET, MCAD.NET
|
|
|
|
|
Do the following actions
+ Map Application_BeginRequest handler in the global.asax
+ use Request.UserHostAddress to get the IP address
+ Log IP and DataTime
|
|
|
|
|
I m using the Datagrid and i want to fix column width in datagrid.Plz help me in this
Varun
|
|
|
|
|
I am getting below type of error when I try to run WinFX web browser application by putting 'window' component in .aspx
page.How to solve this?
System.Windows.Markup.XamlParseException: Error at element 'Grid' in markup file 'Page1.xaml' : Cannot create instance of 'Window' defined in assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' due to security exception. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
|
|
|
|
|
It's caused because an XBAP has no Window - it has a Page - subtle difference I know, but there you go - swap Window for Page in the main declaration (right at the top) and bottom closing tag. May be a few attributes of a window that are incompatible with a page, but trial and error will soon sort THAT one out
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Thanks for giving me an answer,but I want to make such a control that can minimize,maximize,drag and drop.So If I use Page in place of Window ,I can't able to minimize,maximize or drag-drop it.So can you have any Idea for that?
|
|
|
|
|
Hi Friends,
Now i am working on Dotnet 2005 with framework 2.0
when i added a image to webForm from HTML or Webserver control or any other way with corect format(Exact Path),those are showing in Design time, but When I run the application those are not appering..
give me info where i done the mistake..thr any other properties settings required..
Balavardhan
|
|
|
|
|
You might be facing problem of path. You must use Server.Mappath method to give image path, not the physical exact path.
Regards,
Ketan.
|
|
|
|
|
Which server are you using to run your ASP.NET application? IIS or buitl-in server? And again I would normally double check the image urls in this case.
|
|
|
|
|
Hi, thinking u for u r responce
I am using IIS Server..Wht the Meaning od Double checking the image urls..
bala
|
|
|
|
|
Can you try to view source the web page and check if the image element is there, then have a look at the src value to see if it is correct?
|
|
|
|
|
I want to learn more in asp.net programming
please try to suggest any body what i have to do
bye
vk
hai all please clarify my doubts
|
|
|
|
|
|
Hi all,
Can any body give me idea for my problem.
Problem is "I need Extract Text which is in Image"
If any body knows please let me know
Thanks in Advance
Thanks and Regards
Venkat
|
|
|
|
|
Hello ..
We can edit extarct text from image by useing
photo shop try to do it...
bye
Dhulipudi
|
|
|
|
|
You have to use OCR stuff to do this - not easy OR fun
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hello,
I have a member registration form where I accept the user name,password etc.The control I used here is password type text box. Now when I want to provide the editing option for the member how do I populate the password type text box with the existing password? A direct assignment of passeord to the texbox is not displaying the values.
Regards,
Uma
|
|
|
|
|
Hi,
You can't assign the value directly to a textbox having textmode as password. However it can be assigned like this:
TextBox1.Attributes.Add("value","kaushal");
Best Regards,
Apurva Kaushal
|
|
|
|
|
IMO, you can simply implement the change passord functionality in the same way as a normal system does, it means the user is required to supplied his old password to change his current password. However, you are still able to set the default value for the password box by adding it to the Attributes collection as the Text property does not help in this case.
txtPassword.Attributes.Add("value","password goes here" Also, you should know that this option is not secure as it exposes the password value on the web page, and you can easily reveal it by simply doing a view source.
|
|
|
|
|
I have a BL class that i use to retrieve a Dataset. I'm binding this Dataset to a GridView as a data source, I'm not displaying all the columns so i have added three columns. I have enabled sorting but everytime i click on the header i get the error 'the gridview fired event sorting which wasn't handled'. I know this is because i havent implemented sorting event handler. But as long as i remember gridview do the sorting and paging automatically. I have done this by using either SqlDatasource or ObjectDatasource and it works fine. Can some body explain me why i can't get the auto sorting functionality when i'm binding programatically
|
|
|
|