|
I did as you told me and it works.
But I think if it is possible to set the variable in code behind using
ClientScript.RegisterClientScriptBlock it will be more secure.Because I brought the value of the variable from database.So in the codebehind it will be something as the following:
<br />
ClientScript.RegisterClientScriptBlock(this.GetType(),"MyScript",<br />
"<script language='javascript' src='functions.js'>function getvalue(){var var1 ="+ss+<br />
";}</script>");<br />
But it didn't work with me...Any way if I couldn't find any more secure solution I will continue using your solution which will solve my problem too.
Thank you very much for helping me all the time.
I am too late but i will never give up
|
|
|
|
|
Hi all
In my asp.net project in a form i want to disable a particular item in a combobox
Like if this is condition
make the 3rd item in the combobox disable or hiden.
How to do it??
Thanks & Regards
Prakash
Prakash Mishra(Banglore,India)
|
|
|
|
|
try this code
ddl.Items[3].Enabled = False;
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
Hi imran i tried that before but its not working i think the syntax is not correct i am working with VB as the lang.
Prakash Mishra(Banglore,India)
|
|
|
|
|
so try this code
ddl.Items(0).Enabled=false
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
DPOption.Items(3).
After this there is no enabled option.
Prakash Mishra(Banglore,India)
|
|
|
|
|
DPOption.Items.RemoveAt(3)
this worked thanks for the help
Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
hi friends
I am working webapplication
i use form authenticaion method.
how to i connect the database in form authentcation ?
how to encrypt the password to save database.
regards
saravana
|
|
|
|
|
Hi,
You can encrypt the password easily by using SHA or MD5 algorithms. And save encrypted pwd after generating. And also there are cryptography classes are there to encrypt the password.
Regards,
Niranjan
|
|
|
|
|
hi,
i designed a datagrid using C# with asp.net,in that datagrid updating & deleting function are working proper.
if i delete the data in the datagrid, the modification must took place only in that page not in the database,the database should not affected,i am using sql 2000 as backend, please help me.
jai prakash
|
|
|
|
|
You have two option here.
1. Take one field in database,set flag 0 for deleted record.
2. create new Datatable dynamically and bind it with DataBase table and just remove rows from this table and rebind gridview with this table.
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
What pathan telling is exactly correct.
You can try those options.
Regards,
Niranjan
|
|
|
|
|
Hi,
This is from Chandrakanth.
I am using GridVeiw Control and in that I have one DropDownList.
My problem is i would like to Bind the Data to that DropDownListbox in that GridView Control.
How can i bind the data to that DropDownList Box In that GridView Control.
Can any one give me reply for this.
Thanks in Advance
With Regards
Chandrakanth
Chandrakanth
|
|
|
|
|
Find out dropDownlist control from gridview and bind it
ie. on RowDataBound Event
<br />
((DropDownList)e.Row.Cell[CellNo].FindControl("ControlId")).DataSource=DataSet;<br />
((DropDownList)e.Row.Cell[CellNo].FindControl("ControlId")).DataBind();
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
hello everyone,
I have a small doubt regarding of how to generate reports.
Using SQLREPORTINGSERVICES how to generate a report in .net2005.
Plz anyone help me in this issue.
ok byeeeee
Murali
|
|
|
|
|
Since 1 year seems that u havent studied even to ask a question...
Please put the subject as a description to ur problem....
Go thru the first topic in each Forum.......
Hope someone wil help u
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
Hi
I am testing my ASP.NET application with different browsers.So I want IE6 and IE7 in one OS, as of now I am using IE7.I tried to install IE6, as it is older than IE7, it failed.
So how can I use IE7 and IE6 simulataneously.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
Your best bet is probably to install a virtual machine. I don't think you can have more than one version on the same PC.
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 )
|
|
|
|
|
Christian Graus wrote: Your best bet is probably to install a virtual machine
Yeah. I heard that IE team encouraged people to use Virtual PC instead of installing multiple versions on same OS.
Christian Graus wrote: I don't think you can have more than one version on the same PC.
No. You can have multiple version of IE on same OS.
Standalone IE6 Installer
http://browsers.evolt.org/download.php?/ie/32bit/standalone/ie6eolas_nt.zip[^]
Standalone IE3 IE4.01 IE5 IE5.5 and IE6 Installer
http://tredosoft.com/Multiple_IE[^]
Standalone IE7 Installer
http://tredosoft.com/IE7_standalone[^]
I have tried to install the installer from first link. It worked well on Windows XP but not on Vista which I'm currently using...
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi to all
I M keyur soni.
i m doing proje in that i have to find the isp address from where the person is login .
so I want to know how the ISP address is find using then coding.
if u have any idea or namespace for that then tell me
Thank You ...
jignesh
|
|
|
|
|
Below is the list of assemblies referenced in the web.config file. In my desktop, the Crystal Reports XI has been installed & the reports has been viewed in the web pages.
(Crystal reports assembly Version 10.2.3600.0 --- from GAC)
BUT, in my deployment remote server, DOTNET framework 2.0 has been installed & (Crystal reports assembly Version 11.5.3300.0 --- from GAC). The reports can’t be viewed using the website.
How can I refer the crystal reports assembly Version 11.5.3300.0 (.dll) in deployment server?
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<assemblies>
<add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></assemblies>
-- modified at 3:13 Monday 20th August, 2007
Jey
|
|
|
|
|
Where do I get an ASP.NET PropertyGrid control? I need it urgently....
|
|
|
|
|
Get It
or
search on Google
Best regard
Pathan
---------------------------------------------------
|
|
|
|
|
hi friends
how to edit ,cancel,delete datagrid without affecting database
regards
saravanan.
|
|
|
|
|
hi
create datatable dynamically, add column and rows and bind datagrid with this table.
u can remove,edit data using Datarow's method
Best regard
Pathan
---------------------------------------------------
|
|
|
|