|
hi,
it s not the fault in authentication or authorization.
You have to give access to the users through the network connection.
first go to network connection.
Then open the properties.
You have to select the TCP/IP option.
in that option select advanced and you have to check the http web server for
accessing the web.
All The Best
Sathesh Pandian
|
|
|
|
|
Hi all,
I have one "aspx" page and one "usercontrol(ascx)" page.In the usercontrol page i have one HTML table which i use to show data when the usercontrol is loaded.I'm loading the data into the table using a javasript which is registered in the page load of the usercontrol.
In the javascript i'm now referring the Html table as "document.all(""html_cart"").insertRow();"
But when the javascript is executed i'm getting the error
"document.all().insertrow(); is null or not an object"
I even tried with "document.form[0].Usercontrolname_html_cart.insertRow();"
where Usercontrolname is the name for
the usercontrol page.I used this "Usercontrolname1_html_cart", bcoz in the viewsource i saw that the usercontrol is referred as Usrcontrolname1.
Please any one suggest the correct method to refer the html table in the javascript, so that i can add rows and data into the rows
Thank you in advance
Regards,
Sathya
|
|
|
|
|
You should create a variable and make it's value the ClientID property of the table control. Then you'll always have the client side Id of the table. Assuming it needs to be a server control at all.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Graus,
Thanks for the immediate reply Grauss.
In the view source i found the name which aspx page refers to the usercontrol .So i hardcoded the name in the referring session "document.forms[0].Usercontrolname_html_cart.insertRow();"
but still its not working. I tried with the alternative " document.all(""html_cart"").insertRow(); Even this is not working.
One more thing is that im not dragging and droping the usercontrol in the aspx page . Im using another method to load the usercontrol when the applications starts.
Please suggest alternate methods to make it working.
with regards
Sathyanarayanan
|
|
|
|
|
Hi,
I am developing an application for my company intranet.In which i have to get information regarding softwares installed in all the systems in the company intranet on a single click.
Can anyone please tell me that how it is possible to get informations regarding all the softwares installed in all the system connected through company intranet?
I am developing this application in asp.net with C#.
Thanks in Advance
Vijay kumar
Programmer.
|
|
|
|
|
Hello to every One,
i'm using database in my web form for login and user purpose.. due to some reasons i have to format my pc.
after that when i again re-install sql server 2000 and visual studio7 i'm unable to connecto to the database in the following line:
Protected sqlconnection1 As SqlConnection = New SqlConnection("data source=.;initial catalog=daccrop;persist security info=False;user id=dac1605;pwd=dac1605;workstation id=self;packet size=4096")
Actually i have changed the server and computer name in my new installation i.e from "DAC_147_347" to "garg" and again i don't remember how the authentication was done i.e windows or by sql server login. Following is the modified coding for connecting to database..
Protected sqlconnection1 As SqlConnection = New SqlConnection("data source=GARG;initial catalog=dac1605;integrated security=SSPI;persist security info=False;workstation id=GARG;packet size=4096")
This is still not working..
suggest me how should i know the setting done in sql server and after knowing how should i implement it.
The Error Message shown is:
"SQL server does not exist or access is denied"
Thank You..
|
|
|
|
|
Hi every body
I need to add row to a gridview control programtically, I used GridViewRow Class trying to assign values to an object of this class,but I couldn't find any method to add this row to the gridview control,note that the columns was added to the gridview programtically
I will appreciate if anyone give an idea of how to solve this problem.
thanks.
Hassan Amaar
|
|
|
|
|
Have u googled ? Trust me just write "Adding rows to Gridview programtically" on google search engine you'll find lots of article about this.
Have a nice day.
|
|
|
|
|
i'm doing my final semester project. and i would like to know how to include an asp.net file into another one. like how we import packages in java.
Thank you.
|
|
|
|
|
Don't repost.
For Details of including a file to your project
Get it[^]
Regards,
Satips.
|
|
|
|
|
Hello to every One,
i'm using database in my web form for login and user purpose.. due to some reasons i have to format my pc.
after that when i again re-install sql server 2000 and visual studio7 i'm unable to connecto to the database in the following line:
Protected sqlconnection1 As SqlConnection = New SqlConnection("data source=.;initial catalog=daccrop;persist security info=False;user id=dac1605;pwd=dac1605;workstation id=self;packet size=4096")
Actually i have changed the server and computer name in my new installation i.e from "DAC_147_347" to "garg" and again i don't remember how the authentication was done i.e windows or by sql server login. Following is the modified coding for connecting to database..
Protected sqlconnection1 As SqlConnection = New SqlConnection("data source=GARG;initial catalog=dac1605;integrated security=SSPI;persist security info=False;workstation id=GARG;packet size=4096")
This is still not working..
suggest me how should i know the setting done in sql server and after knowing how should i implement it.
Thank You..
|
|
|
|
|
Are you getting any errormessages? It might give me a clue as to what is going on.
WM.
What about weapons of mass-construction?
"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
My blog
|
|
|
|
|
The Error messages is:
"Sql server i does not exist or access is denied"
|
|
|
|
|
Check if the database exists and also check if you have access. Normally you have administrator access on your local machine using windows logon credentials, so the following connectionstring should work.
"Data Source=localhost;Initial Catalog=dac1605;Integrated Security=SSPI"
WM.
What about weapons of mass-construction?
"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
My blog
|
|
|
|
|
how to Inclde a file in asp.net
|
|
|
|
|
|
I recommend reading one of the many guides on the web on how to ask intelligent questions. 'How to include a file' may have been an adequate subject, if your main body explained what you mean. Do you want to add a file to a project ? Do you want to include a javascript file in your aspx ? What is it you're asking ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Please be specific in selecting the subject to your question.
Hi is not a suitable subject for your question.
Did you read the guidlines of the forum before posting the question here in the forumn?
Regards,
Satips.
|
|
|
|
|
Just do copy and paste.That's it...
|
|
|
|
|
LOL - brilliant advice.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
what do you expect from a brillant boy
|
|
|
|
|
Some of you might be aware of my plight (http://www.readytogiveup.com[^]) and that site is set up using a Microsoft ASP Starter Kit. Would any of you know a simple fast way that I can allow people to append comments under each page and just let those comments paginate below the pages? If you do would be willing to help me implement that or do it on one page so I can replicate it to the others? I've got so much to do to the site as some bigger companies like SQLServerCentral are wanting to get involved and I really want to get that site styled out so that it's ready to go.
Let me know A) How I would do it and B) if you can help. Obviously A) is the most important.
Thanks,
Rex
|
|
|
|
|
It's pretty simple to create a paged list, using a gridview or other control. Obviously, you need a database on the back end storing the comments, etc. If you want to replicate the functionality, write it as a control, if you want different comments on different pages, add a forumId to your database table, and make it a property of the control.
Let me know if you need any more help with this, I'm happy to put it together for you, if you're not sure how to go about it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sounds like a great thing to do in my spare time. Give me one afternoon to come up with a simple extension. Good site btw.
WM.
What about weapons of mass-construction?
"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
My blog
|
|
|
|