Web Forms :: Text Message System In Mobiles
Mar 5, 2010Is there any system to send text message to mobiles in my ASP.NET web site?
View 4 RepliesIs there any system to send text message to mobiles in my ASP.NET web site?
View 4 RepliesI have been analyzing an "out of memory" issue within our website. I have noticed hat "System.Web.Mobile.MobileCapabilities" has used nearly 70M worth of memory after the website had been running for 3 days. There are about 20K instances cached in theasp.net caching.I have found an article here: http://support.microsoft.com/kb/888419. It says that I can set the cache expiry time much lower so the cache will not get filled up.But it only seems to apply to .net 1.1. I have tried it locally on my dev mechine. We are using .net 3.5(2.0). and this is what I have put into the machine config:
<browserCaps>
<result cacheTime="1" type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
[Code]....
If the table no data is displayed this error:
System.FormatException was unhandled by user code Message=Input string was not in a correct format.
[code]....
How to search text from Contacts/Tasks/Notes using textbox? I mean if I type "Test" he should find any Contacts/Tasks/Notes that contain word "test" in: tasks name, person name, person surname, person address, telephone number and notes.
View 1 RepliesI would like to know if the normal procedure for creating text files would work the same on a mobile website?
1. I would like a text file created on the server (not users pc) when user clicks a button on the web page.
2. How do I refresh an image every few seconds, only the image not the whole page.
Does anyone know why this happens?
[URL]
It was running fine and then all of a sudden this message poped up.
have Two textBox with RequiredFieldValidator and one Button with OnClientClick for Confirm message. How to validate the Text box before showing the confirm message popup
View 12 RepliesI want to make a web application that will send text messages to any phone and then allow that phone to send a text message back and store it in a data base, so then the person using the website could see the response etc. I have seen a couple of post on google, but nothing too good yet. Is there a free way to do this?
View 2 RepliesHow to populate message box from a text box when user enters a value?
View 1 Replieswhat can I use on a form that will hold images and text and can be sent as the body in an Email? For example, can I use a panel and add a table inside it and then organize text and images in the table and then use the panel as the body in the email?
View 2 RepliesI use below code for doesn't insert duplicate data in table
ALTER procedure [dbo].[insertestate1]
@position nvarchar(max)
,@Transfer nvarchar(20)
,@Type nvarchar(20)
,@Behcode nvarchar(10)
,@Measure varchar(20)
,@code varchar(20)
[code].....
Behind code
protected void ImageButton2_Click1(object sender, ImageClickEventArgs e)
{
string data = Server.UrlDecode(Request.QueryString["BehCode"]);
SqlCommand _cmd = new SqlCommand("insertestate1", _cn);
_cmd.CommandType = CommandType.StoredProcedure;
_cn.Open();
[code].....
now my problem is that when it insert or didn't insert data in data base it didn't show any message in LBLERROR
An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately.Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
View 8 RepliesI need expression for following things1.HH:MM in Military format2.mm/dd/YYYYThere is one catch if user is not entering any thing system should not show any message but if he is entering any thing then it should ask from the format.I am using a grid view with 20 rows ans in that so many columns are available. In that grid i have to check this thing
View 2 RepliesI am using 3 text boxes and button. When I click on 2nd text box I want to show 1st text box value in message box (if 1st text box passed the validations). Same procedure when i click on 3rd textbox I want to show 1st text box value and 2nd text box value in message box(if 1st text box,2nd text box passed the validations). When I click on button ,I want to show all text box values in message box with some text message like "you are selected '1st text box value' .... '2nd text box value'.....'3rd textbox value' ".
How can I populate these message boxes?
I am executing
#region To render the preview page
StringWriter sw = new StringWriter();
Server.Execute(@"~/Default2.aspx", sw);
#endregion
To have the ouput in String Writer sw and want to put in message body of outlook compose window.
So i modified the String Writer sw to
string strText = (sw.ToString()).Trim().Replace("
","");
cstext2.Append("var msg =");
cstext2.Append(""");
cstext2.Append(strText);
cstext2.Append(""");
cstext2.Append("theMailItem.HTMLBody = (msg); ");
cstext2.Append("theMailItem.display(); ");
But its throwing a error saying missing semicolon ";".
Don't know how to handle complete html out of a page.
The html text of Default2.aspx page is
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<html>
<head runat="server">
<title></title>
</head>
[Code]....
The problem is I am unable to put the html text into message of theMailItem.HTMLBody = (msg)
I have the following .vb code behind file for my site:
[Code]....
and I get the following error when I debug the page: Compiler Error Message: BC30456: 'FileName' is not a member of 'System.Web.UI.HtmlControls.HtmlInputFile'. Source Error:
Line 9: Dim fn As String = System.IO.Path.GetFileName(File1.PostedFile.FileName)
Line 10: Dim SaveLocation As String = Server.MapPath("Data") & "" & fn
Line 11: Dim fileName As String = Server.HtmlEncode(File1.FileName)
Line 12: ' Get the extension of the uploaded file.
Line 13: Dim extension As String = System.IO.Path.GetExtension(fileName)
Source File: L:wwwrootWebfile1Default.aspx.vb Line: 11
I have a site written for ASP.NET using a library written for ASP. The library resides in a dll and the site calls it to get the number of leave days an employee has left from a database. The dll was outsourced so I don't have access to the source.
I've set up the database and visual studio project locally. When I run the site and login to the system, an error message is displayed where the leave days should be displayed but the site runs normally. If I register the dll using regsvr32, the leave days are displayed when I login, but when I try to browse the rest of the site, the session is dropped and I'm automagically logged out. If I deregister the dll, then I can browse the site once I've logged in again but, once again, the error is displayed.
I have a delete button in listview footer. I need to set dynamic text for this deletebutton and dynamically set the delete confirmation message also.Here is my code.
<asp:ListView ID="dlPictures" runat="server" RepeatDirection="Horizontal" DataKeyField="PictureId"
DataSourceID="OdsAlbumPictures" DataKeyNames="MappingId" ItemPlaceholderID="itemPlaceholder"
[code]...
I am getting server tags not well formed error..
When a FormView control is in insert mode, a data entry form is shown where the user will type a value into each textbox corresponding to a table column.
How do I disable data entry for one of these textboxes and instead, assign a system-calculated value to that text box?
I need to show a pop up message when the user click on a button. The pop up message box should contain a textbox(password), for the user to enter security key. Then I need to verify the data entered in the textbox is correct or not. possible ways of doing it.
View 5 RepliesI'm interested in creating a service that will receive a text message and based on it's content send a text message back to the original number. I've looked around a little bit but haven't found any good resources for information on how to do this.
Can anyone point me to any good links to find some info on this or recommend what .NET libraries I should investigate first?
I want to known how to display a message if I clicked on text box in asp.net then. Like on [URL].
If I click on text box then it shows me skills, Designation etc. How is that possible?
wanted to know what is the easiest way to interface a mobile phone device with an online system. I have literally NO knowledge in this domain. However, I am brainstorming on possibility of an online application that will allow me to backup my data in nokia set 3110 such as my Address book in the application and restore it. This I want to achieve without connecting my phone to any PC. I am thinking on some way to achieve this by leveraging mobile phone line only. I beleive it may require my application to connect to mobile phone through mobile phone network. Currently my mobile phone line subscriber is offering Address Book backup/ restore service with some charge. I want to see if I can replicate similar features. I would really appreciate if you can give a direction to my random thoughts.If anything is not clear then please feel free to inquire. I look forward to your kind response.
View 2 RepliesI have a textbox on my aspx page defined as:
<input name= tbdisplay type="text">
I can pick the data (I built a touch screen keyboard and I used javascript to write to the thextbox) from code behind using:
string textdisplaydata = this.Request.Form.Get("tbdisplay");
But I can't figure out the way to write back to the same display from code behind. In other words, I need to send a message back to the textbox from code behind. Because I did not defined the tbdisplay to runat="server", I can't see the control tbdisplay. Also, I can't run the tbdisplay at server because the keyboard doesn't work.
I've created a form and I in this form has an initial message, I would like that when I click on the TextBox, the initial message would be deleted
I've created that with a condition "If", but I think on the header is the problem
I just have experience with VBA
Partial Class Ishikawa
Inherits System.Web.UI.Page
Protected Sub Materialtxt_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Materialtxt.????? (I don't know what type in this part)
If Materialtxt.Text = "Click to add information Then
Materialtxt.Text = ""
End If
End Sub
End Class