|
it is all about that textbox viewState data. your controls doesnot take proper encodings to store viewstate data , agressively inspect properties of them and use a html textbox control
Mikail Çetinkaya . The C# DEveloper
|
|
|
|
|
so how do i change the controls so that it can store the viewstate data correctly ?
I code ASP.net and C# in a website, i dont know how to send the data from a gridview to a normal html textbox control.
|
|
|
|
|
try onload manually declaring encoding like Response.encoding="XXXXX"
Mikail Çetinkaya . The C# DEveloper
|
|
|
|
|
Please help me.......
I'm currently at university and I need to develop a product to connect a mobile phone device to a PC and view the contents of the phone to the PC, e.g. The user will be able to view the contacts and edit, delete or even add new contacts to the phone via the PC. I really don't know where I should start looking on how to develop this system and I was wondering if anyone will be able to help me, to point me into the right direction or any good code examples from books or web sites on how to communicate to a phone to synchronise the data and proceed with the above objectives? The phone I have now is a Nokia 6100, if that gives anyone more infomation?
Hope to here from someone soon?
|
|
|
|
|
this type of question is answered in this forum pls. search on forum and cp
Mikail Çetinkaya . The C# DEveloper
|
|
|
|
|
you can try accessing the Nokia Developer Forums. Maybe you could find some answers there.
|
|
|
|
|
Hi,
I need to open a file that is also opened in another application. when i try to open and read the file it says the file is being used by other program.
in this case is there a way to open a file?
How can i check if the file is accessible or not?
regards,
rnv
|
|
|
|
|
If the file is locked by the other application, or opened with DenyShare, there's no way you can open the file until the other application closes it and releases it's locks.
The only way to check to see if the file is accessible is to try and open it. Catch an Exceptions thrown in a Try/Catch block. If the open fails, wait a bit, then try again. Eventually, the other app should close the file and you'll be able to open it.
You could also try to only open the file for SharedRead, meaning you're application will not write to the file but will allow other processes to share access to the file. If your other application is denying Shared Read, you're out of luck.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I have some problem when I code a program for generating another program by C#. I want to code a program after it is run then it generate another program.
Ex: Write the A program iuput the string and generate B program. Then this B.exe is run, it output the string that inputed in the A program.
I am looking forward to your response soon.
Thank you very much.
Dung
Tran Dung
|
|
|
|
|
You didn't ask a question. What is it that you want to know?
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
Fire up MSDN, filter for .NET, search for compiler.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
hi all,
I am using DocumentViewer Class which exports
print method only..I need to have a print preview option too in the winfx application.
What's the right way to do this ? I am using vc# 2005
I also need suggestion for the following method
In the Handler for print preview menu, I have a
private void OnPrintPreview( )
{
System.Windows.Forms.PrintPreviewDialog prev = new System.Windows.Forms.PrintPreviewDialog();
prev.document = //Here, How can I get the PrintDocument from DocumentViewer
prev.ShowDialog()
}
DocumentViewer's document member variable is of type
IDocumentPaginitorSource. Pls let me know how to get
System.Drawing.Printing.PrintDocument type from IDocumentpaginitor.
Thanks,
|
|
|
|
|
I am a novice at C# and was wondering if there is a way to implement a find function in a RichTextBox. I have been thus far able to find the text and even change the color of the text when found. However I was wondering if it is possible to move the window focus to where the text was found, much like in a word processor.
|
|
|
|
|
If you know what you want to select, say characters 42 through 51, then you can do the following in your search method.
myRichTextBox.Focus();
myRichTextBox.Select( start, length );
I hope that helps.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
You're looking for the RTB's ScrollToCaret[^] method. So long at the RTB's SelectionStart property it set to where you want to scroll and the RTB has the Focus, this method will work.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi
Does anyone have an example to print a statement?
Thank you,
D
|
|
|
|
|
Hi,
where did you have your statement if it is in aspx page write the following code on body onload event, it will automatically print this page.
Thanks
Warm Regards
Prakash-B
|
|
|
|
|
|
Hello,
You can get the CurrencyManager and access its Count property.
CurrencyManager cm = dataGrid.BindingContext[dataGrid.DataSource] as CurrencyManager;<br />
if(cm != null)<br />
int count = cm.List.Count;
HTH. Cheers
Maqsood Ahmed - MCAD.net
Kolachi Advanced Technologies
http://www.kolachi.net
|
|
|
|
|
:(It is not working for me.If i'm having 2 rows the count is showing as 1 ???
Anup
|
|
|
|
|
in MFC if I wanted a hex value in a string I could put in \x04. How do I add hex to a string in C#. Do I do it the same?
Thanks
Tom Wright
tawright915@yahoo.com
|
|
|
|
|
Yes.
You can also use Unicode. "\u0082" == "\x82".
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
I need to create a program that reads in bar codes. Would you be able to suggest how I might go about that task? Thanks
|
|
|
|
|
Most bar code readers stand in between the end-user and the keyboard. So that when you scan a barcode it's as if they typed in the numbers on a keyboard. So just place your cursor where it needs to go and scan a bar code. It should fill. I've tried this with the USB as well as the PS2 barcode readers. The PS2 connects to the keyboard PS2 port on the PC and then with a "Y" cable that the keyboard plugs into.
Good luck
Tom Wright
tawright915@yahoo.com
|
|
|
|
|
Thank you. That will make life relatively easy for me.
|
|
|
|