|
Hi,
Thanks for your time,Your solution works.
But I find out some another solution.
Hope to meet soon............
Regards,
Nagraj.
|
|
|
|
|
Hey,
There is a new .Net site (www.quomon.com) designed to help .net programmers using the new Web 2.0 technology and tagging. It both implements .Net, tags, and AJAX and also allows Programmers to collaborate together on projects. It pretty much lets you ask questions when you run into issues and then other programmers answer the questions. Also lets you get recognized for being an expert in different fields for potential job opportunities.
Should check it out.
www.quomon.com
|
|
|
|
|
Hi,
I want to create a MSWord Handler so that if someones tries to access a word document it is opened in the browser instead of showing the open/save dialog.
Please help.
Thanks.
Deepak Surana
|
|
|
|
|
|
Hi,
My image control is dynamic and the pictures are shown from somewhere from hrddisk and that directory is not a path of virtua directory.
can someone help me out in writing a handler so that whenever the image is shown the request goes to handler and it generates some random path, this is require so that if someone tries to see the property of the image he does not see the Absolute path.
Thanks a lot.
Deepak Surana
|
|
|
|
|
Hi All,
I'm having a problem with linked bound DropDownLists.
I have three DropDowns on my form, 1, 2 & 3, all linked to different ObjectDataSources (ods1 ods2 ods3).
DropDown 2 takes the value of DropDown 1 and uses this as a part of it's query parameter, DropDown 3 takes 2's value and uses this as part of it's query parameter.
The problem I'm having is that when the page first loads, DropDown2 isn't picking up DropDown 1's value and subsequently displays an empty list. Just using these controls, it doesn't seem to be possible to invoke a PostBack event if DropDown 1 contains a single value as neither TextChanged or SelectedIndex are true when the user selects the item.
I'm sure there is a problem with my logic here, so can anyone recommend a good guide on using these controls or offer any advice?
Thanks,
Martin.
|
|
|
|
|
After populating the first dropdown you can try passing
DropDownList1.Items(DropDownList1.SelectedIndex).Value
as parameter while filling the second dropdown..
|
|
|
|
|
Hi there,
In the second ObjectDataSource you can define a ControlParameter as a SelectParameter, and this paramater is pointed at the first dropdownlist control with the PropertyName is the SelectedValue.
Also, when the dropdownlist has a single item, IMO you may not need to postback the web page.
|
|
|
|
|
hi
if i m not wrong u want the value from one drop down to second dropdown and from second doropdown to third drop down.is it ok.
if it is like that then
then u have to fill the First dropDown at the Time of page load and when user select the second drop down then corresponding to the Value of first dropdown the Second Will fill. for that u have to write the Code in
the Event of First Drodown_Selectindex changed.
just like For third..
or u have some Other problem then Tell me
i hope it will work for u if i m getting right ur question.
thanx
aavesh
|
|
|
|
|
:(hi,
please anybody reply this server error,while connecting the remote machine through user input ip address of that machine.please reply ASAP
Server Error in '/try_web' Application.
--------------------------------------------------------------------------------
The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for
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 and was found in the database, but it does not have the correct associated data being resolved for
Source Error:
Line 88:
Line 89: IPAddress myIP = IPAddress.Parse(TextBox1.Text);
Line 90: IPHostEntry GetIPHost = Dns.GetHostByAddress(myIP);
Line 91: TxtWorkGroup.Text = "Host Name is: " + GetIPHost.HostName;
Line 92: // string s=Tem.ToString();
Source File: c:\inetpub\wwwroot\try_web\webform2.aspx.cs Line: 90
Stack Trace:
[SocketException (0x2afc): The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for]
System.Net.Dns.GetHostByAddress(IPAddress address) +261
try_web.WebForm2.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\try_web\webform2.aspx.cs:90
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() +1277
|
|
|
|
|
I think this could be DNS problem. I would say that IP you are trying to resolve has no appropriate name in DNS database. But I never met exception like this and what I did write is only my opinion.
|
|
|
|
|
Hello All,
iam trying to do a page which connects to a payment gateway (say Authorize.net). I 've gone thru a PDF based on it. IAm trying to do SIM.
There are so many problems i've encountered(
* For posting to that site ,HTML/SERVER controls needed?
* if customer need to get the result of it on that page itself(if
successful u need to insert it in the database) ,which controls to use
* If iam opting HTML controls then onpage load itself i need to populate
certin hidden controls with values hw to do it)
AND A LOT MORE..........
Can anybody assist me in it.
PLEASE HELP!!
regards,
jeeva
|
|
|
|
|
hi
have u work on Pdf Converter Can u tell me how can we convert the Webpage into the pdf file. its urgent for me.
thanks
Aavesh
|
|
|
|
|
Don't get me wrong here, but it sounds like you need to be learning a whole web technology, not just the small bit to do what you require here?
Have you looked through some of the asp.net tutorials?
|
|
|
|
|
hi,
I have gone thru diff sites but no site gives u apt code or explanation .
hope u have some idea on it.
regards,
jeeva
|
|
|
|
|
i m using two javascript functions in my asp.net project. these are the functions
function valEnb(){
ValidatorEnable(document.getElementById("vldUserID"),true);
ValidatorEnable(document.getElementById("vldPassword"),true);
ValidatorEnable(document.getElementById("vldConfirmPwd"),true);
ValidatorEnable(document.getElementById("vldConfirmPwd1"),true);
ValidatorEnable(document.getElementById("vldFirstName"),true);
ValidatorEnable(document.getElementById("vldFLName"),true);
ValidatorEnable(document.getElementById("vldEmail"),true);
ValidatorEnable(document.getElementById("vldEmail1"),true);
ValidatorEnable(document.getElementById("vldCountry"),true);
ValidatorEnable(document.getElementById("vldCity"),true);
}
function valDis(){
ValidatorEnable(document.getElementById("vldUserID"),true);
ValidatorEnable(document.getElementById("vldPassword"),false);
ValidatorEnable(document.getElementById("vldConfirmPwd"),false);
ValidatorEnable(document.getElementById("vldConfirmPwd1"),false);
ValidatorEnable(document.getElementById("vldFirstName"),false);
ValidatorEnable(document.getElementById("vldFLName"),false);
ValidatorEnable(document.getElementById("vldEmail"),false);
ValidatorEnable(document.getElementById("vldEmail1"),false);
ValidatorEnable(document.getElementById("vldCountry"),false);
ValidatorEnable(document.getElementById("vldCity"),false);
}
these functions are used to enable or disable the validations. i call this functions on page_Load event.
btnCheckID.Attributes.Add("onclick", "valDis();")
btnSubmit.Attributes.Add("onclick", "valEnb();")
but Internet explorer shows an error message - Error : object expected
in FF java console shows like this - Error : ValidatorEnable is not declared
please help me
Thomas joy
|
|
|
|
|
have you included this ValidatorEnable in your page.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi Apurva,
i can't understand your question. i declare those functions(valEnb(),valDis())
in the same aspx file where i call it.
Thanks for your reply
Thomas joy
|
|
|
|
|
No what i was asking is have you included ValidatorEnable (what i suppose is, this is a user defined function and needs to be included in the page in order to use them.) funtion in your page.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi apurva,
I think ValidatorEnable is a system defined function and there is no need for declare it. this code will works fine in local mechine, but when i uploaded it into the sever it shows those errors
Thanks
Thomas joy
|
|
|
|
|
Sorry to misunderstood your problem. Is this "aspnet_client" folder available in the root of the website.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi apurva,
No need for sorry i always thanks for your reply. yes the aspnet_client folder is there.
Thomsas joy
|
|
|
|
|
Hi Thomas,
As far as I know,"ValidatorEnable" is a function defined in the "WebUIValidation.js" file which is present in the C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322 folder...
Try copying aspnet_client folder to the root of your website...Your application is probably not able to find the required file.
--Dimple
|
|
|
|
|
Hi friends,
Thanks for your great help. Now it works fine.
Thomas joy
|
|
|
|
|
Hi all,
Can any body please give me the answer for my Question?
My Question is How to Work with sending and Recieving mails in Asp.Net?
Please it is very urgent For me. Thanks A crore in Advance.
Thanks and Regards
Venkat
|
|
|
|