Forum: C# Jul 28th, 2009 |
| Replies: 0 Views: 1,458 Hi.
I have a problem when trying to embed pictures to an email. It works fine on windows server and the email is shown correct but when I try to put it in production which runs on Linux (mono 2.4)... |
Forum: ASP.NET May 15th, 2009 |
| Replies: 5 Views: 741 And thank you very much for the first reply, you answered my question very well; and I should have been more precise in my question. |
Forum: ASP.NET May 15th, 2009 |
| Replies: 5 Views: 741 My question whether the parent.findcontrol was the way to go, and it seems that way. I'm not talking about the code exactly. That I was given this fine example of usage I thanks alot, but I did not... |
Forum: C# May 15th, 2009 |
| Replies: 3 Views: 516 Thanks.. Ofcourse I should have asked in the asp.net section.. :) |
Forum: ASP.NET May 15th, 2009 |
| Replies: 5 Views: 741 Thanks..
So my surgestion about "((TextBox)Parent.FindControl("TextBox1")).Text = "something";", as you also make use of, is the solution to do this? But the parent is rendered before the uc so... |
Forum: ASP.NET May 15th, 2009 |
| Replies: 5 Views: 741 I was told to write the question here instead of in c# forum, so I post it here as well.
Hi..
I am trying to update a webcontrol on a main site from a usercontrol but how can this be done.
... |
Forum: C# May 14th, 2009 |
| Replies: 3 Views: 516 Hi..
I am trying to update a webcontrol on a main site from a usercontrol but how can this be done.
Let's say I want to update an asp:textbox from a usercontrol on the page, but how is this... |
Forum: ASP.NET Jan 14th, 2009 |
| Replies: 7 Views: 2,257 Arh.. I see.. That makes sence now. Thanks a lot :)
And ofcause.. Sorry that I forgot to do that.. |
Forum: ASP.NET Jan 14th, 2009 |
| Replies: 7 Views: 2,257 Thanks alot.. :) That works like a charm.. Though, it is displayed as a warning in vs2008. It says the attribute onclick is not a valid attribute for the element ListItem. Can you explain why I can... |
Forum: ASP.NET Jan 14th, 2009 |
| Replies: 7 Views: 2,257 If I understand you right, then you're asking why I dont use the asp.net eventhandler, right? And the answer is that there is no reason to handle the data serverside when I can do it clientside. What... |
Forum: ASP.NET Jan 14th, 2009 |
| Replies: 7 Views: 2,257 Hi I am trying to fire a javascript function from my .net radiobuttonlist but it does not fire. How do I fix this:
protected void Page_Load(object sender, EventArgs e)
{
... |
Forum: C# Nov 16th, 2008 |
| Replies: 7 Views: 819 Forget the exception, forget the check on the length of the individual parameters. What I'm asking is if it is nessesary to check the length of the incomming parameter to the function before using... |
Forum: C# Nov 15th, 2008 |
| Replies: 7 Views: 819 Yes I want to secure that a value is no longer than the maximum chars in the db column. Ex varchar(30) for instance.
I could do it like this
if (pFirstName.length > 30) {
Continue.. }
else{... |
Forum: C# Nov 15th, 2008 |
| Replies: 7 Views: 819 Thank you.. I know that I can test it inside but if I want to use the parameters directly into the sqlstring then its not that practical. But you say that I don't have to. But after inserting the... |
Forum: C# Nov 15th, 2008 |
| Replies: 7 Views: 819 Hi there,
I'm wondering whether one of you could clarify how to define the maxlength in bits when inserting a parameter in a stored procedure f.ex. What I might do is something like this:
... |
Forum: VB.NET Oct 14th, 2008 |
| Replies: 3 Views: 650 Thank you for your help. I have found out that I might use it like this:
System.Web.HttpContext.Current.Request.Cookies.Item("Role").Value()
instead of
My.Request.Cookies("Role").Value()
I... |
Forum: VB.NET Oct 14th, 2008 |
| Replies: 3 Views: 650 Hi,
I have an old web-application in production which works fine. Now I want to make some changes and loads it into MS web developer express with the newest .NET framework installed. The problem... |
Forum: VB.NET Sep 2nd, 2008 |
| Replies: 3 Views: 1,032 Same same..
But I found the problem/issue. The compiler debugs into the Then but does not do the actions. Two same if sentences and it will enter the last one (but not do anything in it, just... |
Forum: VB.NET Sep 2nd, 2008 |
| Replies: 3 Views: 1,032 Very interesting.. No matter what I feed to the if it gets into the then If I say:
dim mBool as boolean = true
if mBool Then
..
it gets into it. If I say
dim mBool as boolean = false
if... |
Forum: VB.NET Sep 1st, 2008 |
| Replies: 3 Views: 1,032 I have an if sentence in my vb.net windows form
'If StrComp(WindowState.ToString, FormWindowState.Minimized.ToString) = 0 Then
If Me.WindowState <> System.Windows.Forms.FormWindowState.Normal... |
Forum: VB.NET Aug 11th, 2008 |
| Replies: 1 Views: 2,045 I'm experimenting currently with notification in VB.net and working with baloons in the system tray succesfully. My problem is that I would like the baloon to display an ok/cancel dialog with the... |
Forum: VB.NET Jul 11th, 2008 |
| Replies: 2 Views: 367 Thanks, I'll try this later and get back to you.. The idea seems great.. :) |
Forum: VB.NET Jul 9th, 2008 |
| Replies: 2 Views: 367 Hi,
I would like to know how to get the width of a textstring and/or how to substring a string to a given width (not length), if possible. The reason is that i use a multicolumn listbox and... |
Forum: VB.NET Jul 9th, 2008 |
| Replies: 4 Views: 694 Wayne, thanks but it was not what I was looking for..
Selvaganapathy, that was exactly what I wanted.. Nice, thanks a lot.. I just wanted the current selected one so I replaced The iInd with... |
Forum: VB.NET Jul 8th, 2008 |
| Replies: 4 Views: 694 Hi,
I have a simple question about hovering in a checklistbox. How can I get the value(object ) the hovered item..?
I have tried something like this:
Private Sub CheckboxHover(ByVal sender As... |
Forum: VB.NET Dec 13th, 2007 |
| Replies: 0 Views: 5,247 Hi..
I'm having a little trouble using a webservice from vb classic. I have tried to access other webservices on the net successfully but cannot access my own the right way. After some time of... |
Forum: VB.NET Dec 10th, 2007 |
| Replies: 1 Views: 1,107 Hi..
I have to use a webservice on my current vb-classic page, and have some code (a webservice) written in vb.net which does match my requests. My question is wether I can use this .net... |
Forum: VB.NET Nov 20th, 2007 |
| Replies: 0 Views: 3,318 Hi..
Sorry if this post is misplaced but thourght that it would fit in best here.
What I want to do is call a function, maybe by postback, when a dynamic constructed linkbutton is pushed. This... |