|
hi..
I have built an application in IE6 ... but when viewed in IE7, it looks in distorted manner ... eg : textBox overlap with each other , table borders are not visible, AJAX controls are not visible(search comboBox)...
please provide the solution to make application compatible in IE7 browser...
thanks in advance...
|
|
|
|
|
Dear Sir
How to view an uploaded file which was uploaded during the run time.
Thanks in advance
Smitty
|
|
|
|
|
If you have Word installed, I believe it will just oepn in the browser. The same needs to be true of any file, if you want to view it in your app, IE needs to be able to view it.
Christian Graus - C++ MVP
|
|
|
|
|
HI all ia m devloping the Windows Application in VS2003 in which i have added the class library of another project and the problm is that
i need to show Window continuesly updating the status but while i call the class library function of another project the Windows form become inactive tell me how to make that form active throught the process
|
|
|
|
|
This is ASP.Net forum. Please post this in another forum.
By the way, you can use Application.DoEvents.
Shreekar
http://shreekarishere.blogspot.com
|
|
|
|
|
how to pass hour and minutes in crystalreport in asp.net with vb.net
|
|
|
|
|
Hello,
I add a table to my webform (3 rows,3 columns). In each one of the cells, I am inserting a button.
I would like to hide the table in run-time and then the 9 buttons will be hidded.
Is it possible?
Eric H.
|
|
|
|
|
yes you can use javascript code to show and hide the html table using style.display = 'none' .
Best Regards,
Apurva Kaushal
|
|
|
|
|
How i am doing this from codebehind.
I have to do it when I am clicking on a button(control server).
(I gave an ID=Table1 to my table).
Eric H.
|
|
|
|
|
Why you want to do it on server side if you can do the same on client side using javascript?
Best Regards,
Apurva Kaushal
|
|
|
|
|
because I am doing a lot of other operations in addition of hiding the 9 buttons.
Eric H.
|
|
|
|
|
In that case you can just make that html table a server side control and then you can hide it using visible = false;
Best Regards,
Apurva Kaushal
|
|
|
|
|
I though about this solution, may it cause some problems?
If not this is the best solution for my case.
Thanx
Eric H.
|
|
|
|
|
This will not cause any problem only thing is there will be a round trip to the server which should be avoided if not required.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
Can anybody send me a tutorial on how to handle a dynamic dropdownlist in vb asp.net. What I want is to have 2 dropdownlist. In my first dropdownlist, I have the list of departments. Then in my second dropdown list, I have the list of the members of each department. So if I select Human Resource in my first drop down list, members from HR team in my second dropdown list will be enumerated and so on with other department.
I really appreciate your help. Thanks in advance.
|
|
|
|
|
What you need to do is first fill the first dropdownlist(department) at the page load event and then on the SelectedIndexChanged fill the second dropdownlist(members) by getting the filtered records(members only associated with selected department).
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thank you very much but can you show me how? Because Im a newbie with this thing. I really appreciate it. Thanks in advance.
|
|
|
|
|
If you know how to fill a dropdown list then at load event you assign the datasource(for this first you have to get the data from database) and then call the databind method. Secondly on the selectedindex change event of the first dropdown list bind the second dropdownlist(getting the corresponding data from the database).
To fill the second dropdownlist you have to pass the selected items ID(i.e. departments ID) in order to get the correct set of records.
If you still have the problem can you give the case in which exactly you are having the problem?
Best Regards,
Apurva Kaushal
|
|
|
|
|
I M not Getting ur point plz send me appropriat code ..
|
|
|
|
|
Do you want the code to bind the dropdownlist control, if so the here[^] you can get that.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi.. yes I already filled up a dropdown list coming from SQL data as my datasource. But I dont know how to code the second part that you are saying.
"Secondly on the selectedindex change event of the first dropdown list bind the second dropdownlist(getting the corresponding data from the database).
To fill the second dropdownlist you have to pass the selected items ID(i.e. departments ID) in order to get the correct set of records."
Can you show me in vb.net code? I really appreciate it. Thanks.
|
|
|
|
|
What you need to do in the second part is you have to get the ID value of the item selected in the department dropdownlist(when you would have bind the first dropdownlist then you would have assigned the text and value field, you need to get that value of the selected item). And once you are having that you can query to get the records associated with that department ID. And once you get the desired records you have to bind the second dropdown exactly like you have done with the first one. I think now it would have been clear.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi all,
In my Asp .net Application.. I need to store the date in a variable.. For that i wrote the following code
Dim thisDate, startDate, endDate As Date
Dim thisMonth, thisYear As Integer
thisDate = Now.Date
thisMonth = Month(thisDate)
thisYear = Year(thisDate)
If thisMonth = 1 Or 3 Or 5 Or 7 Or 8 Or 10 Or 12 Then
startDate = "1/thisMonth/thisYear"
endDate = "31/thisMonth/thisYear"
ElseIf thisMonth = 4 Or 6 Or 9 Or 11 Then
startDate = "1/thisMonth/thisYear"
endDate = "30/thisMonth/thisYear"
Else
startDate = "1/thisMonth/thisYear"
endDate = "28/thisMonth/thisYear"
End If
But it shows the error message as,
Cast from string "1/thisMonth/thisYear" to type 'Date' is not valid.
Please help me in this issue..
-- modified at 0:01 Tuesday 21st November, 2006
|
|
|
|
|
JVVS wrote: If thisMonth = 1 Or 3 Or 5 Or 7 Or 8 Or 10 Or 12 Then
The Or operator doesn't work that way. You can't use it to compare one value to several values. You have to make each operand a complete condition.
JVVS wrote: startDate = "1/thisMonth/thisYear"
You can't use a variable inside a string. You have to concatenate the string values.
Why are you trying to create a string to be converted to a date? Use the constructor of the DateTime structure that takes year, month and day.
---
b { font-weight: normal; }
|
|
|
|
|
Guffa wrote: JVVS wrote:
If thisMonth = 1 Or 3 Or 5 Or 7 Or 8 Or 10 Or 12 Then
How can i check without or operator..
|
|
|
|