|
Hey guys,
Anyone familiar with This[^] control? I'm having an update panel in which I created two Panel objects (pnlDisplay and pnlEdit) once the display panel is clicked, the edit panel shows up using a ModalPopupExtender (AJAX 1.0)
The edit panel contains three of these[^] html editor controls and a save & cancel button.
Sometimes when I hit the save button, the editor's text property is empty. Yes... I said sometimes... I cannot tell when but it looks like every odd postback. Even postbacks are fine and the control works as expected. So the initial load of the page fills the text property, the user changes hits save (first postback) all text properties are empty strings. Now when I edit the same textboxes and enter exactly the same text and hit the save button (second postback) the text is updated properly.
Don't understand what's going on here, maybe someone with the same experience?
Thnx, Eduard
|
|
|
|
|
Hi
does any1 know how to enable remote connection for sql server 2000?
thanks
|
|
|
|
|
Hey,
try this link[^]
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
thanks for the reply
however i have already googles and cannot find the suitable answer
most results bring up the solution for sql server 2005
any1 else?
|
|
|
|
|
Register the database server in you local systems enterpirse manager using SQL authentication.
^[^]
Sathy
|
|
|
|
|
Hi
thanks for the articles
One thing i have noticed is that in the error log there is not trace of the connections attempts i have tried to make from the web sever
is there a reason for this?
thanks again
|
|
|
|
|
Can you tell me the steps you followed to register the server database ??
Sathy
|
|
|
|
|
thanks for the reply
I am not the database administrator however and he is not contactable today
Shall I give you a detail of what I have done so far to try and connect the web server to the sql server which are on different machines.
Our firewall is not blocking any ports
web server is not blocking any ports from being accessed
The port 1433 and IP address 172.16.0.10 can be pinged from my machine
The same can be done using telnet, both are successful
I have checked my connection string that I am using and it seems to be correct.
TCP/IP and Named Pipes are both enabled on SQL Server
any help would be great thanks
|
|
|
|
|
Do you have SQL authentication username and password for the database server ??
Sathy
|
|
|
|
|
yes i think so
i have access to the sql server, where would i find this ifnormation?
in the connection string would I just use the normal login and password for the database?
thanks
|
|
|
|
|
ok Im getting a new error message now
it was the 500 error message when i try and run the code but now i turned friendly error messages off its:
No suitable nodes are available to serve your request.
|
|
|
|
|
Yes, how about this rebuttal: This is the ASP.NET forum. Not the ADO.NET one. Nor the SQL Server one.
Try googling for "surface area configuration" sql 2005 and you might get lucky.
|
|
|
|
|
Its not an ado.net or sql server forum!!?
You could have fooled me, is that why it says Forum: ASP.NET at the top of the screen!
Thanks for the suggestion but I'm using SQL 2000
|
|
|
|
|
ASP.NET is the web part of the .net framework. Not the database part. So indeed, you are absolutely right, it says clearly on top of the screen that this is NOT the ADO.NET (which is the data access part of the .net framework) or the SQL Server forum.
In SQL Server 2000 remote connections are enabled by default. Its from the time when MS felt that security should be an option for people with special interests.
|
|
|
|
|
and did you know Microsoft Word is a product of Microsoft and an apple mac computer is made by wait for it... Apple
I'm joining in with you as it must be "Day to give obvious comments day"
Yes Microsoft has got over excited about security(see Vista or any new product after 2004)
|
|
|
|
|
I disagree. It is high time it's taken seriously.
Mocking me for pointing out that you're posting to an inappropriate forum however is not overdue.
|
|
|
|
|
I can not bind a validator to any of my controls
the validator property named "ControlToValidate" does not recognize any of my controls (I am using Visual Studio.NET 2003)
Can anybody advise the reason
Mohamed Gouda
Egypt
|
|
|
|
|
Hi,
add one new form in your website and add new textbox in form and add requirefield validator.
Now check and post here.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Sun Rays dd one new form
This works properly, but the problem occure in case of importing predesigned html form
However, I discovered that I had to convert all my form fields to server controls before validating them
Thanks for help
Mohamed Gouda
Egypt
|
|
|
|
|
Hi,
controlValidator are used only for Server control.
So change as per desired situation.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
i am using this code to bind the data to the combo box .its showing error "Cannot bind to the new display member.
Parameter name: newDisplayMember"
i dont know what to do
con.Open();
SqlDataAdapter da = new SqlDataAdapter("Select emp_id from ep_emp_personal", con);
DataSet ds = new DataSet();
da.Fill(ds);
cobo_emp_id.DataSource = ds;
//cobo_emp_id.DisplayMember = ds.Tables[0].Columns["emp_id"].ToString();
cobo_emp_id.DisplayMember = "emp_id";
cobo_emp_id.ValueMember = "emp_id";
// cobo_emp_id.DataBindings.Add("Text",ds,"emp_id");
|
|
|
|
|
Cuckoo wrote: cobo_emp_id.DataSource = ds;
Change this to
cobo_emp_id.DataSource = ds.Tables[0];
|
|
|
|
|
How can i convert System.Drawing.Image to System.web.UI.Image in asp.net with C#.
byte[] storedImage = (byte[])scmd.ExecuteScalar();
MemoryStream stream = new MemoryStream(storedImage, 0, storedImage.Length);
System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(stream);
bmp.Save(stream, ImageFormat.Gif);
Upto this i have . After this what should i do.
Is there any other way to display directly from the sql where i have stored the image with Image datatype.
VanithaVasu
|
|
|
|
|
u want draw image directly on aspx page From Database
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
|
|
|
|
|
VanithaVasu wrote: How can i convert System.Drawing.Image to System.web.UI.Image in asp.net with C#.
You have to save the Image to the Server (file path) and set the ImageUrl property of the Image control to the file path.
VanithaVasu wrote: Is there any other way to display directly from the sql where i have stored the image with Image datatype.
You can also use Binary datatype, which is common for all the binary files (doc, xls, whatever)
|
|
|
|