|
when the application times out and closes it writes the record or partial record to SQL. Records should only be written when they are saved, not on a time out.
this code is written by my client.pls let me know asap
|
|
|
|
|
Get with the client and have them change their code.
|
|
|
|
|
i download small atlas related example from codeproject and test the application in many browser like IE,Opera,FireFox,Netscape but it works well with IE and Opera but FireFox and Netscape do not support atlas i found.
so i could work with atlas as a result my code will work well in all the browser.pls help in detail.
tbhattacharjee
|
|
|
|
|
ATLAS includes Compat.js, which should sort out all the CB issues - and in fact, Netscrape will allow you to render using the IE control.
What do you mean by they don't support Atlas - all it consists of is a dll and some javascript - you do have JS enabled in the browsers don't you?
If it really is a problem, then just code up the ajax bits yourself - piece of cake!
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi,
How to extract the URL from an Internet Shortcut (.url) file in ASP.NET/C#?
What are the namespaces and classes required to read the information from a ".URL" file?
Thanks in advance.
Subrahmanyam K
|
|
|
|
|
I can recommend you 2 things.
First the really hard way :P
http://www.msjogren.net/dotnet/eng/samples/dotnet_shelllink.asp[^]
Second, you can open the file and get all the content of the url file. Like this :
<br />
using (FileStream fs = File.OpenRead(filename))<br />
{<br />
byte[] b = new byte[1024];<br />
UTF8Encoding temp = new UTF8Encoding(true);<br />
while (fs.Read(b, 0, b.Length) > 0)<br />
{<br />
string content = temp.GetString(b);<br />
}<br />
}<br />
Then you will probably be able to get it with a regular expression.
My Blog
-- modified at 9:55 Monday 10th July, 2006
|
|
|
|
|
hi all,
have a composite control that is all but finished, but when i change properties for it they are not applied until i switch from design to code to design view.
i have tried amny things but i cannot get the design view to render the changes immediately.
same goes when changing properties from the smart tag.
what is the secret to this ?
kind regards,
g00fy
|
|
|
|
|
Hi everyone.
i have a query. Do anyone by chance know how to send a webform from asp.net to an email address? The webform itself consists of many textbox values and i do not want to just send a value across but retrieve multiple values from multiple textboxes and send it across to the user as an email.
Please help me. Thanks in advance.
frossie
|
|
|
|
|
if the data is from a dataset or database, dump it to xml and apply an xsltranform to it then email the resulting html page.
otherwise iterate all form controls and create a plain text or html document then email it.
hope that helps,
g00fy
|
|
|
|
|
You can build a string with all the information you want to send and use the System.Web.Mail namespace to send a mail containing the string ?
My Blog
|
|
|
|
|
Can u show me some sample codes to go about doing it?
What can i put here, MailMessage.Body = ?
How do i send all the multiple values from different textboxes to the body of an email?
Currently, i have inserted a asp:panel in my webform with all the textboxes in it, how can i add the panel of stuff into the MailMessage.Body?
frossie
|
|
|
|
|
You create something to hold the value. One way can be this :
<br />
StringBuilder sb = new StringBuilder();<br />
sb.Append(TextBox1.Text + ", " + TextBox2.Text);<br />
Then you put this into your MailMessage.Body property.
Another way would be to get the Html of your panel and put it into your MailMessage.Body with the BodyFormat set to Html.
My Blog
-- modified at 9:19 Monday 10th July, 2006
|
|
|
|
|
Thanks for the above codes.
But i would be more interested if you can further guide me on how to get the HTML of my panel to put it into my MailMessage.Body. By the way, i have already set the BodyFormat to HTML.
If u can, please show me a sample code? Thanks in advance.
frossie
|
|
|
|
|
|
Try:
<br />
message.Body = Panel.InnerHTML<br />
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
there will be an error if i put that sentence.
Cos it say that InnerHTML is not part of a panel control.
sigh.
frossie
|
|
|
|
|
Hello all,
This might be simple issue, but I am new in this.
I have a datagrid, and I am sending datagrid's row data to the javascript function on- onclick event using itembound property.(e.item...) I need to use that row data again on server side, (I need to identify, which row was clicked) for adding that row data to the client's outlook calendar.Basically, I have a list of appointments in datagrid.This is the first question.
Second, If anybody know, how to add, appointment to the MS-Outlook from asp.net(by javascript or serverside code) please help me.
Thank you very much.
NIKI
|
|
|
|
|
Handle the datagrid events for row selection etc, no javascript needed.
|
|
|
|
|
Thank you Mark for your quick reply.
I already implemented the javascript functionality. I am using the javascript function to display the details for the selected appointment in the datagrid in some format. I need to use that javascript. Any idea, how i can add that appointment details to the ms-outlook?
Thanks
NIKI
|
|
|
|
|
Dhruvil wrote: I need to use that row data again on server side...This is the first question
Dhruvil wrote: I already implemented the javascript functionality.
Don't waste everyones time here by asking questions you don't need answered.
|
|
|
|
|
Hi Mark,
I am sorry for that.
I should wrote down complete things.
Actually, the javascript functionality I implemented is not for getting data from client side to the server side, but for sending data of datagrid row from serverside to client side using datagrid events.
If u want some more details, let me know.
I have data on client side, but for some funcionality, i need the data from client side to server side for the perticular datagrid row.
Thanks
NIKI
|
|
|
|
|
|
Hi
I have List of events in datagrid, in which i am showing only dates in the datagrid.when someone click on a row in datagrid, it will display the details for that date's event in tabular format using a javascript function on a same page.I have one hyperlink to add that details in the microsoft outlook. when some one click on that hyperlink, the displayed event will be added to the outlook.I am very confuse with this as I am implementing first time.
Thank you very much.
|
|
|
|
|
To add to outlook, you need to drive the object model. The difficulty will come if in an environment with Exchange SErver, which stores all this stuff centrally. If you're happy just to use the client's Outlook, then google for "Outlook Object Model"...there WILL be version issues as will all office object models however.
In terms of pushing data from the client to the server, the usual way to do this is with a postback (or AJAX if a postback is not desirable). Just post the form to the server, and ypu'll have access to all the bits you need.
(Though if you're feeling brave, you COULD do it all client side with some fairly heavy-duty Javascript!)
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
hi,
i am using sqlserver as backend.
how can i assure that two records are not same in the database.
|
|
|
|