|
Standard question #1:
What do you mean by "not working"?
Standard question #2:
What error message do you get?
---
b { font-weight: normal; }
|
|
|
|
|
It is a DHTML calendar. So you have to access it via DHTML and interface with the server-side ASP.NET by posting back via an <input> command, using AJAX, or create a ASP.NET control that wraps the DHTML Calendar with the necessary javascript to communicate with it.
George
|
|
|
|
|
First of all that's quite a nice control.
I've made a sample project in VS2005 that uses it, and I've uploaded it here[^]
I tweaked a bit the setup process, to be suitable for ASP.NET ease of use.
As you will see I've embedded the Calendar.setup function in a custom setup function (myCalendarSetup ) and registered the client-side script from code behind. As you see I'm using the control.ClientID property to get the name the control will have once is registered in the page. As you probably know, depending on the hierarchy of controls the control is embedded in, it's name and ID will be proceeded by ctlnr_ ...
Also note that myCalendarSetup function is called when the page has finished loading (thus placed in the body tag delegated to the onload event).
Basically all you need to do when adding a calendar to a page is add the myCalendarSetup function to the body onload event, call the ClientScript.RegisterClientScriptBlock... from codebehind on PageLoad and of course link the needed js in the head section of the page.
I think the sample project above is straightforward, so I will stop with the boring talk.
regards,
Mircea
Many people spend their life going to sleep when they're not sleepy and waking up while they still are.
|
|
|
|
|
Thanks, I'll take a look at your sample.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Yep, that did most of it. I had to make a few additional chganges to my code, but your solution was right on. Many thanks, oh great and powerful Oz.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi Friends,
I am stuck at a point in flash, as I am not a flash developer.
I have to show images from ms-access database into flash.
there is a project table. and other table is images in which i am storing all images related to project.
I have manged to show projects in flash , also I am able to fetch images but
I can not show them as a cycle
like i fetched first project information and there are 3 images related to that project
I have fetched them
I want to fade images one by one and then move to 2nd project and fetch all images of 2nd project and so on.....
Please help in this regard as I am stukc since last 1 week.
I found some hlep on internt but those examples are using buttons to move to next image or record but I need to automate hole process.
I would be obliged if some one send me sample or if you need my .fla, ms-acces and .asp related pages please do not hesitate.
thanks
Naveed Kamboh
|
|
|
|
|
On Button Postback an Aspx Page runs the following onclick C# event handler:
{
..
// dr[“Content”] - DataRow Item type byte[] where is a song in mp3 format
ar = dr[“Content”];
Response.ContentType=“audio/mpeg”;
Response.Clear();
Response.BufferOutput = true;
Response.BinaryWrite(ar);
Response.Flush();
}
I received error in Response.Flush() – The remote host closed the connection.(HttpException).
If I use Response.End() in place of Response.Flush() receive WMPlayer(on the Client) error about there is not codecs for playing sending stream. It possible that sending stream from ASP.Net Page is wrong because on client PC mp3 codecs are installed.
I try to use Response.WriteFile(filename) instead of Response.BinaryWrite(ar) and received the same errors.
Note : I see that after “Response.BinaryWrite(ar)” , in debugger Response.OutputStream.Length property is showing a SystemNotSupportedException.
My question:
Can Asp.Net Page send audio to client as other binary content “application/pdf”,”image/gif”, i.e ?
Please help me,
Thanks
|
|
|
|
|
The global.asax file in Web App is:
<%@ Application Language="C#" %>
public void Session_Start(object sender, EventArgs e)
{
// Code that runs when a new session is started
}
public void Session_End(object sender, EventArgs e)
{
// Code that runs when a session ends.
}
and mode attribute is set to InProc for SessionState element in Web.config file, and State Management configuration for Asp.Net Site in IIS 6.0 is mode = IProc and Cookieless mode = UsesCookies. The Client is Internet Explorer 6.0.
The Session_Star fires but Session_End does not. Why?
Help me please,
Thanks
|
|
|
|
|
hectorpc2006 wrote: The Session_Star fires but Session_End does not. Why?
See if this[^] helps
led mike
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
hello frnds,
i need run exe as background process with webapplication
wid regards
ashutosh sharma
ashu
|
|
|
|
|
|
http://www.codeproject.com/script/comments/forums.asp?forumid=1640&select=1756009&df=100#xx1756009xx it may be helpful
|
|
|
|
|
Hi guys,
I have an issue with my confirm window. I currently am using firefox browsers in 2 PCs. The problem is, the OK button in the other pc generated by window.confirm() shows after the Cancel button (the order of buttons is Cancel - OK instead of OK-Cancel). But in the other pc, it is fine. What may be causing the issue? I was thinking it may be a browser issue but then when i used konqueror, it outputted alright.
Is there a way to manually manipulate the buttons?
I would appreciate any inputs and suggestions on how I can remedy this petty issue.
Thanks!
-waxie-
|
|
|
|
|
It's not specified what the confirmation box will look like or how it will work. It's up to the browser to offer the message to the user and give the user the opportunity to choose. It's not at all certain that it should be in the form of a dialog box, just because that is the most common solution at the moment.
There is nothing you can do to manipulate the buttons, not even the text on the buttons. A browser in a different language will have other texts on the buttons.
---
b { font-weight: normal; }
|
|
|
|
|
i have a problem when i am calling function written in the javascript on the onkeyup event of input text control, can you help me with some sample code
|
|
|
|
|
write the following line in your text control
write following in your script.
function keyisup()
{
alert("HI");
}
Hope it will help you
|
|
|
|
|
Hi, I want to set the height of a table to 100% in ASP.NET 2.0.
In ASP.NET 1.1 it is working fine but in asp.net 2.0 it is not working and the table doesnot occupy the whole screen.....
Any solution................
Do good and have good.
|
|
|
|
|
there are so many frameworks in ajax.please tell me which 5 are most useful and popular.
please,reply me as possible.
-- modified at 3:27 Tuesday 7th November, 2006
|
|
|
|
|
Same homework assignment as the person below?
---
b { font-weight: normal; }
|
|
|
|
|
You know, you don't HAVE to use a certain framework. Ajax web pages aren't that complex of an idea and I find just using the prototype library is all I need. When you use AJAX type frameworks, like atlas you wind up working around the framework to get the Ajax functionality to work, instead of just typing the few lines of js manually and moving on.
My advice, just see the ajax wrappers in the prototype library.
/\ |_ E X E GG
|
|
|
|
|
hi all,
can anyone tell me about top five AJAX framework??
Waiting for the reply thank you in advance.
|
|
|
|
|
Same homework assignment as the person above?
---
b { font-weight: normal; }
|
|
|
|
|
Isn't that a "circular reference" fella - have a 5
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
RichardGrimmer wrote: Isn't that a "circular reference"
Not really... perhaps if I whould have written: "For the answer to that question, se the post below/above"
Or perhaps a deadlock would be better: "I'll answer that in a minute, I just have to answer the question below/above first."
---
b { font-weight: normal; }
|
|
|
|