The best variant to fix this problem is to search it in google. So when i'm getting such "unclear" error messages i'm just copying it text The codefile attribute on the page directive is not allowed in this page. and paste it in google as a search request. So i think this will help: http://www.google.com.by/search?q=The+codefile+attribute+on+the+page+directive+is+not+allowed+in+this+page&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a[^]
drweb86
Posts
-
The codefile attribute on the page directive is not allowed in this page -
synchronization of optionsThank's Mark! you really helped me very much, i've got very nervous - now i'm refactoring my opensource app and making it cross-platform, so your answer is really was very helpfull for me Thank's Siarhei
-
Formatting with Minimum and Maximum PlacesHave you seen this article? http://www.csharp-examples.net/string-format-double/[^]
-
synchronization of optionsHi, guys Do you know any managed pattern for syncropnization of options betwean 2 applications? I have a Configuration tool and tray application. Both run under the same limited user account, and when user modified settings in Configurator i need tray application to be updated without restarting it. Target framework is 2.0 I searched in internet and found only Remoting, but it depends on a port number, so there might be a situation when other app already uses this port Are there any gracefull decisiongs? I will be glad if you give me some links, code portions... Thank's in advance Siarhei
-
Cannot navigate to child element through xpathHi! I have a file with next format 36511453 and have to extract from it a docID element with xpath But when i'm trying to execute something like /*/docID it doesn't work. Could you help me with maitaining xpath expression?
-
Protect authentification informationCould you help me tisth advise how to protect user login and password i have an open-source applcication which backups data and i want to prevent unauthirized access to file with options programmatically. There is a login and password of a backup user. so i have no ideas what to use to prevent such information being disclosed or just copied with other people
-
working with DataGridViewComboBoxColumn cell in c#Hello, this is Sergey I have a problem with dataGridView: One of the predefined columnes has type DataGridViewComboBoxColumn with predefined items. When i'm adding new row int index = datagrid.Rows.Add(); and after that trying to set default value in DataGridViewComboBox, DataGridViewCell dgvc = datagrid.Columns[2].CellTemplate; dgvc.Value = "High";// it has index = 0 in items of column datagrid.Rows[index].Cells[2] = dgvc; it throws messages that its incorrect. I've tried in other ways, searching for information, nut i didn't find it Could you help me to set this shirt default value to combobox and get then it back? Thanks, Sergey
-
DataGridView - combobox as a columnHi, all I have a question about using DataGridView. Could you write me a code sample how to get and set SelectedItem in Combobox column in DataGridView Here is the code i use to create a new row DataGridViewCell dgvc = datagrid.Columns[0].CellTemplate; datagrid.Rows[index].Cells[0].Value = dgvc; in CellTemplate two items Fast Slow and it's not clear for me how to set 'Slow' item programmatically i've tried ((ComboBox)(datagrid.Rows[index].Cells[0].Value)).SelectedIndex = 1; ((ComboBox)(dgvr.Cells[0].Value)).SelectedIndex = 1; ((DataGridViewComboBoxCell)(datagrid.Rows[index].Cells[2].Value)).SelectedIndex = 1; but it throws exceptions What should i do?
-
Control inside listbox C# .NetThank you very much!!!
-
Control inside listbox C# .NetSo i have to develop a separate control to show such controls? or there is a standard decision??? Thanks
-
Control inside listbox C# .NetHello. I have a problem I've developed control CompressionItemControl and want to add it to listbox as an item, but it doesn't show it(it only shows that smth added) Could you help me to create list of controls in listbox? Thanks, Sergey
-
Problems with configuring .Net hosted controlHello, i have 2 problems i've created a .Net hosted control library which should run with explorer, and it loads when i'm starting html page but when it tries to work with files, Runtime throws an exception 1) Could you write how-to configure my DLL in .Net framework mmc (it shows messages that strong name required and so on) 2) I have a public available event OnCompile(string text) and a public available variable oncompile but when i'm trying to add an event handler to my .Net control in Java script like document.supercontrol.oncompile = javascriptproc function javascriptproc(text) { document.write(text); } it doesn't work Thank's
-
convert cyrillic from console app to Unicode C#Hi I have already wrote about my problem. I have a string that comes from console app after it i convert it with this procedure static private string EncodeMessageForConsoleOutput(string Message) { //gag if (MemoLog == null) return Message; if (EncodingFrom.CodePage == EncodingTo.CodePage) return Message; Decoder decoder = Encoding.UTF8.GetDecoder(); byte[] bytes = Encoding.UTF8.GetBytes(Message); char[] chars = new char[bytes.Length * 5];//*2 int bytesUsed, charsUsed; bool completed; decoder.Convert(bytes, 0, bytes.Length, chars, 0, chars.Length, true, out bytesUsed, out charsUsed, out completed); string ResultString = new string(chars, 0, charsUsed); return ResultString; } but it does not work Could you help me what's the problem with this code?
-
convert this cyrillic output from the console app to unicode [modified]Hello friends! I was programming redirection of output from console process(C# .Net 2.0), but when i'm outputing it on form it outputs illegal characters(cyrillic characters). Could you help me how to convert this cyrillic output from the console app to unicode? Thanks. -- modified at 6:15 Friday 8th June, 2007