|
|
pampam110 wrote: Where Should i find RichTextEditors ?
Are you using AJAX Toolkit?
You can have a look into AJAX HTML Editor.
AJAX HTML Editor[^]
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Thanks Man. But i Face to another Problem ...
I try to Adding the AJAX Control Toolkit to the Toolbox as shown in this page:
Get Started with the AJAX Control Toolkit : The Official Microsoft ASP.NET
But it send me an error when I Select my AjaxControlToolkit.dll!
The Error is : There was an error loading types from assembly 'C:/Program Files/....../AjaxContolToolkit.dll'
'Could not load file or assembly 'System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, ..... or one of its dependencies. The System cannot find the file specified.'
Any Idea again?
[]D @ []v[] []D @ []v[]
|
|
|
|
|
Abhijit's suggestion is good enought,so just explore it.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Blue_Boy wrote: I Love T-SQL
As your signature says you love T-SQL, I have an smll request to you,
I have taken an small initiative over here,
Most Commonly Used Functions in SQL Server 2005/2008[^]
I would like to collect all the most commonly used SQL Server function under a single article. I gave permission to all of Silver and above member.
If you have some times, I would expect some contributation from you !
Thanks in advance !
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hi Abhijit.
Your article is usefull and sure I will try to find free time to append more in your article.
Currently I am much busy with my actual project and I hope soon I will get free days and I will write some more for your article to be more rich.
Regards.
P.S. My pleasure to work with developer like you.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Thanks you so much ! Hope to see your contribution soon.
Thanks Again !
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I want that value of textbox to be converted into base64 string so that i can sent it to another page as encrypted username from response.redirect....what i used
<code>Convert.FromBase64String(textbox1.Text);</code>
how to save this converted value and in what data type...and i want it converted into string so that i can send encrypted code to another page and then decrypt it and again save it as string.....please suggest any easy way.....
|
|
|
|
|
Use this Code below
string str = textbox1.Text;
string encstr = Convert.ToBase64String(System.Text.Encoding.Unicode.GetBytes(str));
string decstr = System.Text.Encoding.Unicode.GetString(Convert.FromBase64String(encstr));
encstr represents the base64 encrypted string which you can pass between pages, and decstr is the string decryption.
|
|
|
|
|
THNX!!!! alot i got my problem solved...but please could you explain it....i can't understand the use of ascii encoding then base64 string use....
|
|
|
|
|
Well,
Convert.ToBase64String takes a byte array. You need to convert your string to Byte array. You can do it using a for loop and create the Byte array yourself. System.Text.Encoding.Unicode.GetBytes does it for you.
On the contrary, the reverse is Convert.FromBase64String returns a byte[] , so again you need to convert Byte array into string. System.Text.Encoding.Unicode.GetString does it for you .. .
Hope this help you.
|
|
|
|
|
Thnx lol i got it....
|
|
|
|
|
If that answered helps you, then Please don't forget to Click on Good Answer
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
it is known that some text size in the webpages will be changed by changing textsize in the view menu in the internet explore setting.
I want to know is it possible to fix the text size (e.g. label), which is not changed by the textsize setting in the explore?
if so, and how?
thanks.
|
|
|
|
|
Why would you want to do this? The point of having the option to change font sizes in the browser is to allow the user a choice. It isn't a good design to take that choice away. Instead you should make your layout flexible enough the handle the change.
only two letters away from being an asset
|
|
|
|
|
I want to display an image with its width to the computer screen width.
anyone can give me one hint how to do?
thank you.
|
|
|
|
|
use javascript screen.width / screen.height .
you can set img.width and img.height
|
|
|
|
|
thanks, but I do not know how to embed javascript into ASP.net
can you give me one example for this?
|
|
|
|
|
<script type="text/javascript">
function initialise()
{
var imgcontrol = document.getElementByID('yourimgid');
imgcontrol.style.width = '100%'
...
...
}
</script>
<body onload="initialise();">
...
do like this in your designer.
|
|
|
|
|
thanks!
this may be so called Ajax application in ASP.net.
|
|
|
|
|
Nopes dear..
AJAX is Asynchronous Javascript and XML. Well, AJAX relates to XMLHttpRequest Object present in Javascript API which can call to the server. Just like you postback to get data from the server, if you dont want to postback but call the server from your client using Javascript, you can use XMLHttpObject. To get more knowledge about AJAX try AJAX W3Schools [^] tutorial.
This is simple JavaScript fix in the client side.
|
|
|
|
|
Hello,
Im using this following softwares:
VS 2008 & Microsoft SQL Server 2005
I want to attach my database to SQL Server. How can I do this(Without using wizard) ?
TIA
|
|
|
|
|
comp_j wrote: Im using this following softwares:
VS 2008 & Microsoft SQL Server 2005
I want to attach my database to SQL Server. How can I do this(Without using wizard) ?
How does it related with ASP.NET ? If you have to ask it on General DB Forum.
comp_j wrote: How can I do this(Without using wizard) ?
Why you want to avoid Wizard ? Do you want to do it programmatically.?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Abhijit Jana wrote: Why you want to avoid Wizard ?
Because I want to run my project on a system that just have SQL Server engine and .NET Freamwork.
Abhijit Jana wrote: Do you want to do it programmatically.?
yes, I do.
|
|
|
|
|
Connect to master Database using your .NET object. Then run the stored procedure below :
EXEC sp_attach_db @dbname = 'dbname',
@filename1 = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\dbname.mdf',
@filename2 = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\dbname_log.LDF'
Please replace the path to the existing mdf and ldf files.
You can also create using
CREATE DATABASE [dbname] ON
( FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\dbname.mdf' ),
( FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\dbname_log.LDF' )
FOR ATTACH
GO
command
Hope you can do this now.
|
|
|
|