|
|
how to download code for htmleditor from that site?i saw the editor but unable to download the code.
|
|
|
|
|
|
i m using asp.net 2.0,there is no editor option when i instal asp.net controltoolkit for 2.0
|
|
|
|
|
Hi ,
You can use FCK editor ot FreeTextBox.
Thanks
Rahul
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Hi,
there are many open source HTML editors, you can try this:
http://tinymce.moxiecode.com/index.php
modified 27-May-14 5:10am.
|
|
|
|
|
need help with a formview foxpro linked server problem
i have some foxpro tables that are part of an app.
i have created a mssql linkedserver and can select records from a .aspx page
my problem is how to update the records from that same webpage.
the web page has a ddlist to select a acct
a gridveiw to display a partial record
then a formview to display and edit a record selected in the gridview
i can select records ... then start an update in the form view ... just can't save the updated record
if you want to see the page look here:
http://airportcoach.dyndns.biz/users/res_data.aspx
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Wed, 9 Dec 2009 03:30:39 UTC
Message: Sys.WebForms.PageRequestManagerServerErrorException: Cannot fetch a row using a bookmark from OLE DB provider "VFPOLEDB" for linked server "Reservations".
OLE DB provider "VFPOLEDB" for linked server "Reservations" returned message "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".
Line: 4723
Char: 21
Code: 0
|
|
|
|
|
hello
some can comment about implement security method between php client and asp net 2.0 web services
I do not find much information
thanks
|
|
|
|
|
How i assure that only me client php consume me web services .net 2.0 and how i assure that this respond only is from me webservices .net 2.0
|
|
|
|
|
to expand
i have 2 server
server 1 "ip public" - ms server 2003 with apache and php. Frond end
server 2 "ip local network" - ms server 2003 with aspnet 2.0 web services. layer business
the connection is point to point and this is SSL
reading i found a article
"May be the message is signed or encrypted, and sometimes both. Now this cannot done only with transport security like https. You have to secure the message itself. WS-Security specification is meant for just this. It defines how to secure the message itself. So if you want this level of security, you need SOAP Web services. And there are applications, specially enterprise applications that need this level of security."
my objective is implement WS-Security specification between server 1 and server 2
some comment, guide etc will be apreciate for me
Thanks for the time.
|
|
|
|
|
Since PHP is a bit more limited in ability (as far as I know) you would probably do better asking the question in the PHP forum.
Also, please do not keep adding onto your original question. You can edit the original question.
|
|
|
|
|
1. https/ssl
2. encrypt data (DES)
3. checkcode by data (md5)
4. soapheader
|
|
|
|
|
How can I determine the URL of the website my users originate from? So if they clicked a link on http://www.siteABC.com that redirected them to my site, I would capture "http://www.siteABC.com".
I know Request.URLRefferer will work if the user specifically clicked on a link to get to my website however that won't work for redirects.
Any idea what I can use?
Thanks.
|
|
|
|
|
The information about user coming to your sites is based on HTTP protocol. Especially on HTTP request header. See here:http://en.wikipedia.org/wiki/List_of_HTTP_headers[^] to list all the items which can be presented in the HTTP Request header. There is no such a thing you are looking for. Thus you can’t get this information…. There is just the Referer parameter but know about it.
|
|
|
|
|
Hi! Here what I want to do: I have a label and in it I want to display the seconds beginning from 60 and finishing with 0 at the interval of one second, and then again and again (basically a little stop watch). I've tried something using C# and a delegate, but I can't use the method Invoke which I was using in C#. Here the of what I've done:
public delegate void del_time();
public Thread threadTime;
public int time = 60;
protected void Page_Load(object sender, EventArgs e)
{
if (!this.IsPostBack)
{
labelTime.Text = "TIME 60";
threadTime = new Thread(new ThreadStart(Display_Time));
threadTime.IsBackground = true;
threadTime.Start();
}
}
protected void Dsiplay_Time()
{
del_time del1 = new del_time(Lbl_time);
Thread.Sleep(1000);
while (true)
invoke(Lbl_time, new object[] { });
}
protected void Lbl_timp()
{
if (time > 0)
{
time -= 1;
labelTime.Text = "TIME " + time.ToString();
}
else
{
time = 60;
labelTime.Text = "TIME " + time.ToString();
}
}
Now can anyone tell me if I can do the stop watch this way, or could anyone give any other idea. I've noticed that I have a control called "Timer". I tried to use it, but I get the following error: "The control with ID 'Timer1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it." Any ideas??
|
|
|
|
|
Well my friend, the process you are using is actually creates one thread in the server side. You need the timer to work in the client side.
In disconnected env (Like Web) whenever a Response is transferred to the client, anything in the server regarding that request disposes. Whenever we call the server again, it will actually create another Response altogether.
Use javacript SetTimeOut/ SetInterval / ClearTimeout to deal with this.
You call like this :
function UpdateStopWatch(){
...
...
}
body onload="javascript:SetInterval('UpdateStopWatch', 1000);"
Read about Javascript timers here
http://www.java-scripts.net/javascripts/Countdown-Timer.phtml[^]
|
|
|
|
|
Hi all,
Please look at this following code of mine
<asp:Button ID="btnOK" runat="server"
OnClientClick="javascript:checkMinHour(txtHourFr, txtMinuteFr, txtHourTo, txtMinuteTo)" Text="OK" Width="78px" onclick="btnOK_Click" />
You can see 2 events OnClientClick() & OnClick(). All I want to do are:
OnClientClick(): is used to run a javascript which will check well-form attributes of some textboxes before executing function btnOK_Click ().
OnClick(): where I call function btnOK_Click().
What I expect next is nothing happens until users enter valid value to make well-form attribues.
The problem is: In the case my fom is not well-form, after running the javascript, an alert box appears. I then click button OK of it and btnOK_Click() runs continuosly. As a consquence, C# throws a page to inform "The input string was not invalid".
Have you got any suggestion for me?
Thank kiu so much!
|
|
|
|
|
Add return false; in your javascript method when you don't want server side code to run.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
<asp:Button ID="btnOK" runat="server"
OnClientClick="javascript:return checkMinHour('txtHourFr', 'txtMinuteFr', 'txtHourTo', 'txtMinuteTo');" Text="OK" Width="78px" onclick="btnOK_Click" >
Just if you return false to the Onclick of the client side, it will not call the serverside and hence the postback will be removed.
Also what is the meaning of checkMinHour(txtHourFr, txtMinuteFr, txtHourTo, txtMinuteTo) ... ?? If the arguments are names of some other controls, you must use quotation while passing them. Now the function will look like :
function checkMinHour(txtHourFr, txtMinuteFr, txtHourTo, txtMinuteTo){
.... ...
.... ...
if(Data is valid)
return true;
else
return false;
}
Cheers...
|
|
|
|
|
Thank you! It has worked
|
|
|
|
|
Hi-
I want to create a container user control which will have two place holders (one on left and one of right). Developers should be able to put this container control on their page and set properties to decide which user controls they want to load (dynamically) in those left and right place holders in the container control. For example, i want to create a container control C1.
Developers can put this C1 on their page like
<C1:C1 ID="ucC1" runat="server" uc1="2L" uc2="1R" uc3="1L">
So basically ucC1 is the container control. uc1 and uc2 and uc3 are other user controls that developers need in those place holders (left and right) inside the container control. And "2L", "1R" and "1L" decide the position of the control. for example "1L" means load that one first in the left place holder, 1R means load that one first in the right place holder, 2L means load that as second control in the left place holder, etc....
Now I was wondering, if there is any better or more efficient way to do this whole thing, or atleast a better way to do this "2L" kinda ordering?? Also, i am using the properties of container control to load other user controls dynamically, is this the best way or there's a better way to do this? Any help would be much appreciated! thanks
|
|
|
|
|
You can have a user control which exposes a Dictionary property. There, key can be a placeholder ID. And the value will be control's name. Then, in the set block of the property, you can add the mentioned user control in the container control.
Or, you can have a property each for each PlaceHolder and in its set block, load the mentioned control.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
I think you are not looking for User Control... Rather you are asking for Custom Control.
There are two ways to do this, either you create the whole control yourself by deriving from INamingContainer interface, which requires lots of efforts or inherit from an existing control.
I think your requirement needs a completely new control to be created.
Just create a class, derive from INamingContainer, place ParseChildren attribute to all the template children etc.
This might come handy for you :
http://msdn.microsoft.com/en-us/library/aa719862(VS.71).aspx[^]
I hope you are now in right path.
|
|
|
|
|
How can i get the text value of a textbox inside the gridview into a string
|
|
|
|
|
What do you mean by
rakeshs312 wrote: How can i get the text value of a textbox inside the gridview into a string
Can you explain more your case?
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
|
|
|
|