|
RegisterClientScriptBlock is what you want.
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 )
|
|
|
|
|
|
karthick.n.mca wrote: how to add javascript function dynamically?? any special methods available..
In ASP.NET 1.1
ServerControl.Attributes.Add<br />
Page.RegisterStartupScript<br />
Page.RegisterClientScriptBlock
In ASP.NET 2.0
ServerControl.onClientClick<br />
ClientScript.RegisterStartupScript<br />
ClientScript.RegisterClientScriptInclude
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hi,
Can u just tell me the code to retrieve particular cell value from datagrid.I mean 2nd row 3rd column etc.,
Thank u
|
|
|
|
|
if you are using athird party grid control then u ill be having lot of grid properties...though if ,net native controls then u should write ud function to achive..these things...
|
|
|
|
|
Try this:
this.GridView1.Rows[1].Cells[2].Text
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
|
SUDHAKAR PALLAM wrote: code to retrieve particular cell value from datagrid.I mean 2nd row 3rd column etc.,
Datagrid, 2nd row, 3rd Column
DataGrid.Items(1).Cells(2).Text
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hi!
I have a serious problem with a web application i'm working on. I use forms authentication to authenticate users, but the problem is that when the user is not logged in the site has no style until the user gets logged in. When he logs out the style dissapears again. I have used some css for styling, but i'm really lost with here.
Any help is well appreciated!
|
|
|
|
|
Zoliq wrote: I use forms authentication to authenticate users, but the problem is that when the user is not logged in the site has no style until the user gets logged in. When he logs out the style dissapears again. I have used some css for styling, but i'm really lost with here.
Problem is with the authentication or with the CSS styles?
Linking your Web Page to the CSS Style Sheet...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
It seems that you may have denied the access to your images folder[hope your css file is in images folder] for all anonymous users. You can provide access by adding the following in web.config
<configuration>
<location path="Images">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
</configuration>
*jaans
|
|
|
|
|
Thanks, J@@NS!
That was the problem you mentioned. Thank you very much! I'm new to ASP and i get lost very often, but i think that's the life of a programmer. BY!
|
|
|
|
|
hi all,
i m running .net application version 1.1 on web server, in this application i have create a user control in which i made login form , in this form when user login , his username value assign to a session variable,n in web config i session setting is as follow:
<sessionstate mode="InProc" stateconnectionstring="tcpip=127.0.0.1:42424" sqlconnectionstring="data source=127.0.0.1;UID=userid;PWD=password"
cookieless="false" timeout="10000">
this is running correctly on my local host but whn i put this on web server within 5 minutes session outs, i dont understand the problem, plz help me its very urgent.
thanks.
|
|
|
|
|
|
hi,
i did that which u suggest me but now session time out very fastly.within in 2 min only.
in web config i have set time out 10000.plz reply if u have solution.
thanks .
|
|
|
|
|
ok i m sending a link:
www.raisarplazaithub.com, this site is under construction.
ok first login with userid=abc,password=abc and then click on classified link and then place ur ad n thrn place ad after this a widow will open n now fill all entries, u will see at the mean time session will time out and page directecto home page.
plz follow these step ,
after this if u find the problem then plz n plz reply me.
thanks.
|
|
|
|
|
Hi Plz Tell me some good sites to know abt GCA(Global Assembly Cache)...,
I need that with example codes...,
So it will easy to know whats going on in that...,
Thanks,
Regards,
Magi
|
|
|
|
|
Magh_M wrote: GCA
GAC
Magh_M wrote: Hi Plz Tell me some good sites
Googling is allways the best for this[^]
Magh_M wrote: I need that with example codes...,
To share an assembly within a web application we add the assembly in the \bin folder. If we need to share between mulitple ASP.NET web application then we can install it in the (GAC)Global Assembly Cache.
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
http://www.dnzone.com/ShowDetail.asp?NewsId=698
i think this will be help full for u
desire is different from burning desire
|
|
|
|
|
Hi all,
Can any one help me ,How to prepare a chat application?in .Net Applications
Any article if u have please send it to me.Whether Remoting concepts r useful.i dont know how to use remoting in .Net applications.
Thanks in advance
fttyhtrhyfytrytrysetyetytesystryrty
|
|
|
|
|
ASp.NET is not really the best way to write a chat app, unless you use AJAX a lot. I'd say a windows app makes more sense.
The core issue is, you need a central server so you can find IP addresses of people you want to chat to.
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 )
|
|
|
|
|
ya Thank u,
but how can we know the IP Address of the users.
and i think we need to configure the SMTP Server also
Please suggest me in a Proper way?
Thanks fr u r reply
Regards..
fttyhtrhyfytrytrysetyetytesystryrty
|
|
|
|
|
yadlaprasad wrote: but how can we know the IP Address of the users.
Like I said. A central server, which all clients log in to. That logs all the IP addresses of people who are online and handles connecting them to each other.
yadlaprasad wrote: and i think we need to configure the SMTP Server also
How bizarre....
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,
I am kalyan working as S/Engineer .. from Last 6months .
I got one problem in my current project. am Going to display numbers to hyper links so for that am binding data to grid view with these dataFiels like im using prospect id and wrongno id and and wrong number and addresstype so here im getting few wrong numbers(numbers) with same prospect id adn addrestype so that i want bind in same hyperlink .one another one or with comma saparator so please help me how to do that.. please give reply as soon as possible
kalyan
|
|
|
|
|
i have created menu using asp.net,it is working fine with all the Browser except safari,plz help me on this,it is urgent..............
Thx in advance,
Nirmala
|
|
|
|