|
hello everybody..
i have to provide feature of live web conferencing in my website i have no idea how to implement will u all guide me..Thanks..
|
|
|
|
|
meghamaharshi wrote: i have no idea how to implement
You want to implement it ? or want to integrate with some third party Application.
|
|
|
|
|
Thanks for reply..
if we can implement then its good and if any open source available then thats better..
|
|
|
|
|
In my application I have a Gridview, with template columns having Textboxes inside.
On entering some values in the first textbox and press tab, focus goes to second textbox
again I enter some value and press tab.....It should get saved in database.
I am trying to implement this functionality.....please help me....
SAJAN A PILLAI
ASP.NET,C#.NET Programmer
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
If you want to do it tab navigation then you need an eventhandler which should be called when focus removed from the second textbox else you can use a button set it default focus and on enter save it.
Cheers!!
Brij
|
|
|
|
|
On tab out of second textbox, it should get saved to database. Any ideas to implement this will be appreciated.
Thanks in advance
SAJAN A PILLAI
ASP.NET,C#.NET Programmer
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
As I said earlier, use eventhandler that save it in DB
Cheers!!
Brij
|
|
|
|
|
hello all.
here, iam trying to download a file from an ftp folder into a clients machine.
the problem is,
i have written my code in say download.aspx.
now the file is getting downloaded to the client machine but the generated html source of the download .aspx is getting appended to the file. in this case we are getting 1117 bytes.
i have used the following code
string filename = "Chadwick2007.pdf";
Response.AddHeader("Content-Disposition", "attachment; filename=" + filename);
Response.ContentType = "application/octet-stream";
FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://127.0.0.1/ftpfolder/" + filename);
request.Method = WebRequestMethods.Ftp.DownloadFile;
request.UseBinary = true;
FtpWebResponse response = (FtpWebResponse)request.GetResponse();
Stream responseStream = response.GetResponseStream();
StreamReader sr = new StreamReader(responseStream);
int i;
while ((i = responseStream.ReadByte()) != -1)
{
Response.OutputStream.WriteByte(Convert.ToByte(i));
}
i can provide any additional information if required.
thank you.
|
|
|
|
|
hi guys,
any one got client side piece of code to logoff/shutdown a system through.
Muthu
|
|
|
|
|
John.G wrote: any one got client side piece of code to logoff/shutdown a system through.
No. ASP.NET/JS can't do that.
|
|
|
|
|
For this ,You need ActiveX control or some Java applets
Cheers!!
Brij
|
|
|
|
|
John.G wrote: any one got client side piece of code to logoff/shutdown a system through.
You Can't
|
|
|
|
|
What's with the current flood of people who have no idea what ASP.NET is, what it does, how it works, or how to write web code ?
No, of course you can't do that.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi Buddies..
I have found that,WE can do using shell with Jscript. thing is we can popup shut down dialog box.
Muthu
|
|
|
|
|
hi
i am sending mail from my site eg: part of function
string MailTo = "aa@aa.com";
string Host = "abc.com";
string From = "xyz.com";
string Pwd = "12345";
bool Flag = false;
MailMessage Message = new MailMessage();
Message.To.Add(MailTo);
Message.From = new MailAddress(From);
Message.Subject = Subject;
Message.IsBodyHtml = true;
Message.SubjectEncoding = System.Text.Encoding.UTF8;
Message.Body = Msg;
Message.Priority = MailPriority.High;
this function is working well
but my probem is How do I change the FROM address to a friendly name
modified on Tuesday, December 9, 2008 5:56 AM
|
|
|
|
|
|
|
amit sahu20 wrote: Message.From = new MailAddress(From);
Message.From = new MailAddress("mailAddress", "Friendly Name");
|
|
|
|
|
amit sahu20 wrote: Message.From = new MailAddress(From);
change it as
<blockquote class="FQ"><div class="FQA">amit sahu20 wrote:</div> Message.From = new MailAddress(From,"friendlyName");</blockquote>
Cheers!!
Brij
|
|
|
|
|
Hello friends,
I set the cultural info for Germany as
CultureInfo ci = new CultureInfo("de-DE");
// format is dd.MM.yyyy
Then I bound the GridView, but the date field shows data in system's local date format( eg m/d/yyyy).
How to get the date field to be displayed according to the cultural format
Please help me
Regards
Shivanandan C V
|
|
|
|
|
I suspect you'd have to either ask the client their locale, get a database to map IP addresses to locales, or do something in javascript. Most sites ask the user where they are and store that info.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Shivan Nandan wrote: How to get the date field to be displayed according to the cultural format
CultureInfo ci = new CultureInfo("de-DE");
DateTime.Now.ToString(ci.DateTimeFormat.ShortDatePattern, ci.DateTimeFormat) But this will not help you as you are using ASP.NET. This will use servers culture information.
As Christian told, you need to have some mechanism to get the users culture. Most easy way is to ask them to provide it.
|
|
|
|
|
Dear friend,
Thanks for your response.
I am not using dt.tostring() method. My code is given below
DataSet ds = new DataSet();
ds = obj.GetData();
gvList.DataSource = ds;
gvList.DataBind();
The "ds" contains records and one of the field will be a datetime type. So I want that datetime field value to be displayed according to the cultural settings. Also gvList's Autogenerate colums is true.
Shivanandan C V
|
|
|
|
|
hello everyone,
my problem is i am trying to create a contact page where there is a fieldset for primary contact and another for secondary. i added a check-box so that if the applicant's primary contact is the same as the secondary, the values in primary contact will be displayed in the textfield of the secondary and at the same time make the textfield not enabled.
i tried this in a windows form application and it worked fine, but when i tried it in the web page it did not.
can anyone help me with this and if possible explain to me why this is so cos i was thinking maybe it is the validation property.
i am open to ideas, thanks
|
|
|
|
|
I'm not sure how code you wrote in a winforms app has anything to do with it, given that this would be C# or VB code, and you need to write javascript to do this on the client, unless you want the page to reload when the user checks the check box, in which case, set autopostback to true.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|