I have a project which consist of updatepanel. In that panel i have a popup Inside popup I have text boxex which are validated using required field validator. In the same popup I have save button. Actually I those validator doesnt work. When I click save button with one text box empty I post the page and save the balnk data of that popup. Actually I need to remain in same popup in any text box is empty. I have browse the page in IE and firefox but It doesn't work. please tell me what the problem and Its solution. BUT In my friends computer It works well.
keyto
Posts
-
required field validator doesnt work -
event handler in asp.net 2.0Can you explain me how to add event handler in asp.net to standard control ?
-
add key press Event on Asp:controlI have a form which consist of text box. I want to allow to type only numeric value on it by using key press event how can i do this. The Text box is a standard control.
-
Know The ProblemIn my Explorer window I have c:\...\WebSite3\ App_Data getDetail.aspx getDetail.aspx.cs MasterPage.master MasterPage.master.cs and other image file when i run my program i got error like following Directory Listing -- /WebSite3/ -------------------------------------------------------------------------------- Thursday, December 20, 2007 10:43 AM <dir> App_Data Tuesday, July 25, 2006 10:17 AM 9,705 airbus.jpg Tuesday, July 25, 2006 10:17 AM 22,505 air_holland.jpg Thursday, December 20, 2007 02:29 PM 262 Default3.aspx Thursday, December 20, 2007 02:29 PM 406 Default3.aspx.cs Thursday, December 20, 2007 04:43 PM 3,790 getDetail.aspx Thursday, December 20, 2007 04:20 PM 663 getDetail.aspx.cs Thursday, December 20, 2007 05:11 PM 153 Image.aspx Thursday, December 20, 2007 03:04 PM 403 Image.aspx.cs Thursday, December 20, 2007 05:12 PM 2,257 MasterPage.master Thursday, December 20, 2007 02:26 PM 414 MasterPage.master.cs Thursday, January 01, 2004 05:45 AM 83,794 Water lilies.jpg Thursday, December 20, 2007 10:49 AM 1,585 Web.Config Thursday, January 01, 2004 05:45 AM 105,542 Winter.jpg How can I remove this error. Please tell me what this problem is? -------------------------------------------------------------------------------- Version Information: ASP.NET Development Server 8.0.0.0
-
update the table dataI use sql server 2000 with c# and I have made a database table name administrator which consist of three field (a_id,user_name,password).I also entered the data into it from the sql query.I have made the form that the user can input user_name and passord. I have already fetched the data from database table and I need to update the database table fields. how can i do.
-
find errorIf I try to add some thing in my sample project the error displays like this:-> c:\documents and settings\administrator\desktop\mitumori\mitu\jpeg.h(21) : error C2370: 'kJFIF' : redefinition; different storage class
-
about pdf library.Actually I wanted to study Internal working of the CPDFlib. The functions used in that library.
-
about pdf library.I want to do study about Pdf library. Can someone provide me the tutorial on Pdf library. Actually I need to study all the functions, read them what they do because I need to convert the bmp and text to pdf.
-
trace errorWhen i call the CDialog::OnOK(); function I get error : C:\Documents and Settings\Administrator\Desktop\new_pdf_latest\pdf_latest\itagane_latest\itagane_latest\itagane\CTools\daishi.cpp(116) : error C2039: 'OnOK' : is not a member of 'CDialog' How can I solve this error?
-
figure out the error.When I run my project I read this error: \CTools\daishi.cpp(114) : error C2039: 'OnOK' : is not a member of 'CDialog'. Can any one figure out the error.
-
convert bmp to pdf ?how can i convert bmp image to pdf ?
-
input both text as well as imageActually Im in real problem. I need to take user input (both text and bmp image). These two element can exist together ie picture need to described by text. These input must be converted to PDF how can I do. Please Explain me in detail I have know Knowledge.
-
create save dialog box.In my project I need to write text to file. For that I need to display the Save dialog and there user should be able to create folder and enter file name to save the file in that location. How can I do? Actually I need to display the Save dialog on click to One command button.
-
errorI have created an array string as CString* message. In my dialog the is a edit box where the user can type text,first problem is when enter is pressed the dialog box closes. What should I need to do to avoid that problem and on pressing enter key cursor should go to new line. The second problem is : On the edit box i have created the control variable. I use variable.GetWindowText() to fetch the text typed in the edit box. when i compile my program The error is displayed like -> 'void __thiscall CWnd::GetWindowTextA(class CString &) const' : cannot convert parameter 1 from 'class CString *' to 'class CString &' How to avoid this problem?
-
conversion text to pdfI need a help. Actually I want to get the input text from user from window and I need to convert text to pdf how is it possible ? give me some hints.
-
convert bmp to pdfActually I have open the bmp file and need to convert in pdf (not to print) and i need to send that file through e-mail.
-
convert bmp to pdfCan visual c++6 mfc convert the bmp file to pdf file ? If it can be how is it possible please give me some hints.
-
bmfh.bfType != 0x4d42Here bmfh is an object of BITMAPFILEHEADER and I am not sure to achieve the core meaning of the statement below can U explain me ? if(bmfh.bfType != 0x4d42) { throw CDibException(CDibException::enm_file_read_filed, "BMPƒtƒ@ƒCƒ‹‚ł͂ ‚è‚Ü‚¹‚ñ"); }
-
A big QI have a sample project and I have to implement this code into my project. I could not understand the theme of the code can you make me understand the code? The code goes like this void CDib::BmpLoad(CFile& rBmpFile) { int nCount, nSize; BITMAPFILEHEADER bmfh; nCount = rBmpFile.Read((LPVOID) &bmfh, sizeof(BITMAPFILEHEADER)); if(nCount != sizeof(BITMAPFILEHEADER)) { throw CDibException(CDibException::enm_file_read_filed, "BMPƒtƒ@ƒCƒ‹ƒTƒCƒY‚ªˆÙí‚Å‚·"); } // ƒtƒ@ƒCƒ‹ƒwƒbƒ_‚Ì'BM'‚ðŠm”F if(bmfh.bfType != 0x4d42) { throw CDibException(CDibException::enm_file_read_filed, "BMPƒtƒ@ƒCƒ‹‚ł͂ ‚è‚Ü‚¹‚ñ"); } nSize = bmfh.bfOffBits - sizeof(BITMAPFILEHEADER); m_pBmpHead = (LPBITMAPINFOHEADER) new BYTE[nSize]; nCount = rBmpFile.Read(m_pBmpHead, nSize); // info hdr & color table this->ComputeMetrics(); // BOOL ret; // m_pImage = (LPBYTE)VirtualAlloc(NULL,m_dwSizeImage,MEM_RESERVE|MEM_COMMIT,PAGE_READWRITE); // if(m_pImage == NULL) // VirtualAlloc(&m_pImage,m_dwSizeImage,MEM_COMMIT,PAGE_READWRITE); // MEMORY_BASIC_INFORMATION MemoryBasicInfo; // VirtualQuery(m_pImage,&MemoryBasicInfo,sizeof(MemoryBasicInfo)); // if(MemoryBasicInfo.State != MEM_COMMIT) // return; // ret =VirtualLock((LPVOID)m_pImage,m_dwSizeImage); m_pImage = (LPBYTE) new BYTE[m_dwSizeImage]; nCount = rBmpFile.Read(m_pImage, m_dwSizeImage); // image only // ret =VirtualUnlock((LPVOID)m_pImage,m_dwSizeImage); this->ComputePaletteSize(m_pBmpHead->biBitCount); this->MakePalette(); this->MakeDDB(); }
-
LPBITMAPINFOHEADERWhat does LPBITMAPINFOHEADER does?