|
Hi all,
i am working with WYSIWYG Editor,I am very new to this Editor.
Here i am facing problem with how to get the data what you typed in the text area.I am using C# with Asp.Net.Can any one please help by sending any sample code u have.
Thanks in advance
Krishna Prasad
|
|
|
|
|
Why would we have any sample code for using an editor which you've not even named ?
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 )
|
|
|
|
|
...and answer the same question you posted two days ago?
What is the editor? I only ask as I am after a decent 'free(ish)' wysiwig. Needs to be very light, not overloaded with buttons etc. Just allows the user to bold , underline, italic and size text.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
i have two buttons on the form.i want to disable the first button on clicking the second button
for that i wrote the following code.
function abc()
{
document.getElementById('Button2').disabled=true;
}
if (!Page.IsPostBack)
{
this.Button1.Attributes.Add("onclick", "abc();");
}
is it right ?
Soniagupta1@yahoo.co.in
|
|
|
|
|
Hi,
Try it out with these modifications...
function abc()<br />
{<br />
document.getElementById('Button2').disabled=true;<br />
return false;<br />
}<br />
if (!Page.IsPostBack)<br />
{<br />
this.Button1.Attributes.Add("onclick", " return abc();");<br />
}<br />
Regards
Sivan.G
|
|
|
|
|
ThanQ
Soniagupta1@yahoo.co.in
|
|
|
|
|
Hi there,
Been searching for this tool since few months back without luck. Basically the tool will show list of holidays(in rows) for each country (in column)for the entire year i.e. 365/366 rows with n-number of columns for country.
There will be option to view previous / future year's holiday too.
Maintenance wise, each country 'owner' can login into the page and update the holiday list under their care respectively. Web administrator will able to add/edit the list of countries and assign new user for these countries.
Sounds pretty much simple and direct but hard to find one on the web. Anyone saw such tool available?
Thanks.
Regards,
Darren Lam
|
|
|
|
|
Given that you're on an ASP.NET forum, have you considered writng one ?
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 Chris,
Yes, I'm a newbie in ASP.Net development and intend to code one but not sure if ASP.Net can do what's given/required above, therefore checking out if someone using ASP.Net did similiar project/tool (not necessary holiday table).
Thanks.
Regards,
Darren Lam
|
|
|
|
|
Hi, I'm new to asp.net datagrid. Now, i want to create datagrid like this.
Column1 Column3
Column2 Column4
....... .........
....... .........
how can I do that ? can anybody help me with that?
thanks in advance !
RB
|
|
|
|
|
Use table structure in ItemTemplateField
Like as
<ItemTemplate>
<table width="100%">
<tr>
<td>
Column Name 1
</td>
<td>
Column Name 2
</td>
</tr>
<tr>
<td>
Column Name 3
</td>
<td>
Column Name 3
</td>
</tr>
-----
----
----
----
</table>
</itemTemplate>
bEST rEGARD
pATHAN
please don't forget to vote on the post that helped you.
|
|
|
|
|
From what you have mentioned it seems that you want to place Datatable columns one below the other. This is not possible and that is the reason we have the Datalist.
Datagrid can be used columns in a Horizontal way only !
Amol
|
|
|
|
|
I have the 3 business objects in each business object class iam calling the partcular data access layer method
Suppose for Business object Person, in the person class save i am doing the data access layer method call:
SAVE(person s)
{
updatePerson(person s);
}
2)Business object Animal, in the animal class save method like this:
Save(Animal a)
{
UpdateAnimal(Animal a); a contain all the Web layer data.
}
3) Business object Birds, in the Bird Class Save:
Save(Bird b)
{
UpdateBird(Bird b)
}
Coming to the Data Access layer code
UpdatePerson(Person s)
{
call ProcPersonInsert to into person table
}
UpdateAnimal(Animal a)
{
Call ProcAnimalInsert to insert into Animal table.
}
This is same for the Bird class also. Now My problem is I want to do all those three updates in the TRANSACTIONS. How to use transactions in my case. Can anyone give me some idea in this?
Thanks in advance
|
|
|
|
|
Do you mean make them all atomic, so they all succeed, or they all fail ? The only way to do this using a transaction is to make one database call that updates them 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 )
|
|
|
|
|
Can Visual Studio still do this?
Anyone know how? Yikes, this is crazy I know!
John Held
|
|
|
|
|
document.getElementById('<%=DropDownList.ClientID%>').disabled = false;
I tried this. Its not working. Can you help me with the correct code for making a dropdownlist disabled?
Also, finding a problem with this one. Both of them are throwing errors.
document.getElementById('<%=Label10.ClientID%>').style.visibility = false;
document.getElementById('<%=Label10.ClientID%>').visible = false;
Please help.
Thanks
|
|
|
|
|
function DisableButton()
{
document.getElementById('ExcelExportButton').disabled =true;
}
This code works fine with me, my button's id is ExcelExportButton
|
|
|
|
|
also look at this, what I am using for button in some of my pages, change the attributes accordingly and this should work fine with a combo box as well
Me.LoginButton.Attributes.Add("onclick", GetPostBackEventReference(Me.LoginButton) & ";this.value='Please wait..';this.disabled = true;")
|
|
|
|
|
It's working just fine. Setting the disabled property to false makes it not disabled. If you want it disabled you should set the property to true .
The style.visibility property is not a boolean. Why don't you just look up some documentation[^] instead of guessing how to use things?
---
single minded; short sighted; long gone;
|
|
|
|
|
First of all, is this in your main page or in a js file ? If the latter, then the <%= will not be changed to be the Id
beyond that, like Guffa said, it's better to read some docs than to make random guesses, but disabled = false plainly will enable to control.
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 )
|
|
|
|
|
Is there a dropdownlist control which the ID is 'DropDownList'? If no, you should replace 'DropDownList' to the correct ID of the dropdownlist control which you want to disabled.
document.getElementById('<%=Label10.ClientID%>').style.visibility = false;
It should change into below:
document.getElementById('<%=Label10.ClientID%>').style.visibility = 'hidden';
==============================
I Believe I Can fly!~~~
|
|
|
|
|
I'm getting the following error trying to debug (F5) a web application on my Vista Machine. What could be the cause?
Unable to start debugging on the web server. Could not start ASP.NET or ATL Server debugging.
Verify that ASP.NET or ATL Server is correctly installed on the server.
I'm quite pressed for time so would appreciate suggestions if anyone has already been through this, before I invest time going through it.
Thanks in advance.
I do not believe they are right who say that the defects of famous men should be ignored. I think it is better that we should know them. Then, though we are conscious of having faults as glaring as theirs, we can believe that that is no hindrance to our achieving also something of their virtues. - W. Somerset Maugham
My New Blog
|
|
|
|
|
Did you verify that ASP.NET or ATL Server is correctly installed on the server?
You can also try doing the view in browser option then Debug -> Attach to Process and pick WebDev.WebServer.EXE and see if that works.
|
|
|
|
|
Another test application runs OK using the built in VS2005 web server.
I do not believe they are right who say that the defects of famous men should be ignored. I think it is better that we should know them. Then, though we are conscious of having faults as glaring as theirs, we can believe that that is no hindrance to our achieving also something of their virtues. - W. Somerset Maugham
My New Blog
|
|
|
|
|
Hi all
Here is the situation, I have a button named "Export To Excel", Now when someone clicks the button the button gets disabled as I added the following code to Page_Load
Me.ExcelExportButton.Attributes.Add("onclick", GetPostBackEventReference(Me.ExcelExportButton) & ";this.value='Please wait...';this.disabled = true;")
Now I execute some code for generating the excel file, at the end of the event I use the following statements to open a "Save As" dialog box so the use can save it,
Response.ContentType = "application/excel"
Response.AppendHeader("Content-Disposition", "attachment; filename=Report " + System.DateTime.Now.ToString.Replace("/", "-").Replace(":", ".") + ".xls")
Response.TransmitFile(fileName)
Response.End()
It all works fine but the disabled button does not enable back whatever I do, the only way I think I can enable the button is to redirect the page to itself,
But if I use Response.Redirect next to Response.End the page redirects but the "Save As" dialog does not appear and so the user can not save the file,
any help would be really appreciated,
Thanks in advance
Sri
|
|
|
|