this is kesava
i created a windows usercontrol and make it as strong name and also registered using regasm after make site is trusted and i used in web application it works fine .
But the problem is if i want to run this application on the other system it wont display the usercontrol .
If anybody know the solution please send a mail to me(email@example.com)
You are telling me that you have placed a windows usercontrol in a web form??
I think what you did, is you called the process exe of that windows application which is installed in the server. In case of client, as they doesnt have that installed, it wont run.
I think you need to clear up your basics on how web env runs before you actually proceed writing code. In web browser can only run html code. It cant understand anything other than this. If you want your client to run your application, you need to make them download the file and then install it to them and run that themselves.
I created the windows application as usercontrol and place the dll in the root folder of the web application .After that using <object> tag i placed the usercontrol on the web page it works on my system but when i try to run this application it will show only the rectangle border on the other system.
Well.. .Actually browser makes separate http request for each individual external files.
Now these HTML files can be accessed by the users even if they are not logged into the application. How can I restrict this?
To make access to the html files.. I would suggest to use separate HttpHandler which will authenticate your request againist some session id, if session is created already or will do it using uid and password.
Similarly, how can I restrict users to download java script files which is in my application root directory by directly typing the URL in the browser.
say in your browser you place script tag like this
Dim adp As SqlDataAdapter
Dim str_Qry As String
str_Qry = "select distinct cityname from tblLocation where cityname like '" + prefixText + "%'"
adp = New SqlDataAdapter(str_Qry, cnn)
Dim daset As Data.DataSet = New Data.DataSet
Dim temp As New List(Of String)
For i As Integer = 0 To daset.Tables(0).Rows.Count - 1
Thats only a short form of 'what' just a chat form of that.When v r replying in a hurry its accidentally coming out as v r using this all the time(laziness lol ).Definitely i'll keep this in mind.Thanks J4amieC.
I am creating item template dynamically inside gridview in Asp.net 2.0.
The Item templates are sucessfully created.like as follows,
Assume below as a grid view Rows & Columns :
EmpID EmpName Basic HRA MA TA PF OTHER
1 Employe1 10000 1000 500 400 300 700
2 Employe2 20000 2000 800 600 400 800
3 Employe3 30000 2500 900 700 400 900
so the above coloumns as item template created dynamically First 2 column are labels and rest of the columns are textbox...So the first time loading the gridview with 3 rows empty - then i will enter data then i will save it to database... so UPTO here working fine...
The problem is i can change the text vaue from any rows any coloumn, i want find which rows and which cell was changed ,, how to find this..plz tell me ...
i ll give code snippet,
If e.Row.RowType = DataControlRowType.DataRow The
Dim txt As New TextBox
For inti = 0 To 7
strname = "txt" & inti
txt = CType(e.Row.FindControl(strname), TextBox)
AddHandler txt.TextChanged, AddressOf txt_TextChanged
Hi guys i am using ajax controls in my application...,
my probs is, suppose if i didnt do any events for 5 mins...,later i will click on my event...,
my evets are not firing properly...,
how to avoid it?
Thanks & Regards,
please don't forget to vote on the post
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
What are peoples thoughts on databinding (in ASP.NET), is it good or bad? I have recently started using databinding and I am not enjoying it. My biggest problem is that it is so hard to test. The only way to test it is by running it and manually trying every possibility. I fear that I will leave one or two properties unlinked and then they won't do anything.
At the moment I am unable to get a dropdownlist working on a InsertItemTemplate. As it is the 'insert' one it doesn't try to populate the objects. I need to populate the items in the dropdown, but not populate the value. Setting the datasource doesn't do anything. Any ideas how I can solve this problem?