put here some code.
show us the PageLoad event or Init.
User Profile
Collapse
-
Well, I have found that there is maximum allowed length of input. See this article .
I have just set this
<httpRuntime
maxRequestLengt h="102400"
/>
into my web.Config and all goes well.
Zdenek....Leave a comment:
-
Web Service input parameters
Hello,
I have following problem.
I have Web Service and there are few WebMethods. I have generated proxy using WSDL. I call method on Web Service with some object. That object has some properties and one of them is collection of attachments to email. That are some other objects.
If I call my method with collection of e.g. 5 or 10 attachments, its all ok.
But I am not able to call it with e.g. 50 attachments.... -
Expect that we have some input parameter string sColumnName.
So create the query string like this:
string sQuery = String.Format(" select \"{0}\" from customers;", sColumnName)
or like this:
string sQuery = "select \"" + sColumnName + "\" from customers;";
Is this what you asked?
Z....Leave a comment:
-
Hi, I already solved it.
So I created another Remote provider with channels and network credentials.
It s now working.Leave a comment:
-
On the first PC there is installed Windows Service.
This one calls other Windows Service on the other PC.
Both PCs are Virtual Machines on Virtual Machine Server.
So both PCs run under the VMuser account.
So I think that there cant be any problem with credentials, but there is.
If I try to call the Windows Service on the second PC from my computer (connected), I get an error with network credentials....Leave a comment:
-
Yes, that I thought, but isnt there some way how to solve it more "like programmer"?
I thought something about channels or something like that....Leave a comment:
-
.NET Windows Service: Credentials
Hello.
I have problem with network credentials on my Windows service.
I have 2 PCs.
On the first PC I create controller which calls windows service on the other PC.
Always I got InvalidCredenti alException when I try to call service.
Coud you please help me to fix it?
I have read something about it and also tried something, but it doesnt help much.
One solution of this... -
Yeah it will change i know.
But I need to set another font or size or underline, you know?
To make the DataGrid Header looks like other grids without sorting....Leave a comment:
-
Its strange probably because of sorting.
If i disable sorting, header text doesnt depend on parameters in CssClass yet.
Quite strange.Leave a comment:
-
Datagrid Header Formatting
Hi all.
I have Datagrid in my aspx page and with simple Header.
The sorting is enable.
I have problem with column's headers formatting.
I specified the CssClass for Header not to have the text underlined.
Or to have text in specific color and font.
But it doesnt work. Text is still in other font and color and underlined, no matter what there is in CssClass.
... -
-
And maybe this wount help.
Try to join this on some DataGrid method like OnItemCommand.
Or to TextBox method OnTextChanged or something.
There should be param DataGridCommand EventArgs e.
Then you can use something similiar.
Code:ImageButton linkButtonDelete = (ImageButton)e.Item.Cells[3].FindControl("deleteButton"); LinkButton linkbuttonYes = (LinkButton)e.Item.Cells[4].FindControl("deleteYes");
Leave a comment:
-
So if I understand it well, you would like to set checkboxes texts depending on values in textboxes?
Well you can use something like this:
// HTML
....
<asp:CheckBox ID="chBox" .... >
<asp:TextBox ID="txtBox" ... >
.....
// end HTML
DataGrid grid;
CheckBox checkBox;
TextBox textBox;
foreach (GridViewRow...Leave a comment:
-
Was it helpfull or what?
Do you have some other questions? :DLeave a comment:
-
-
Well I dont know many abouot DataGrid in Windows forms, but it could be simillar, yes?
So there would be probably some method to catch doubleClisk on DataGrid row.
So you may catch some DataGridEvents event.
Try something like this:
Item item = (Item) event.Items.Fin dControl("someI D");
For example if you have TextBox there and want to work with it:
TextBox tBox =...Leave a comment:
-
Well, I have batch file and when I am installing service on other machine, I at first copy all dll and exe for service and als config files to the specified location.
Than I edit this batch file and run it.
Its clear now?...Leave a comment:
-
I have also severous windows services with logging.
For that purpose I am using library log4net.
I created simple ApplicationEven tHandler service which listens and log events fetched from everywhere in my codes.
Well, try to find out something about log4net.
Enjoy.Leave a comment:
-
Sakalicek replied to The process cannot access the file because it is being used by another process.in .NETYou can try if the file eis opened in exclusive mode.
Something like this:
Code:try { using (FileStream oStream = File.Open ( fileName, FileMode.Open, FileAccess.Write,
Leave a comment:
No activity results to display
Show More
Leave a comment: