|
Asgher Mansoor wrote: But recently i have found that none of the buttons on the webpage is visible at runtime!!
Check the visible property of the controls. It should be true. If it is false then asp server doesn't create the html control for same. so it will not visible in any case.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
If they are set as visible also check whether the HTML is being sent to the client, in which case it could be a CSS related problem.
|
|
|
|
|
Hi
Anybody know where I can get my hands on a simple to follow asp.net tutorial. I need to setup a site were a user can enter search criteria on current members of the site and there details are displayed.
I’ve seen a tutorial somewhere along these line before but just can remember were. I know a little asp but not much .net, so it’ll have to be simple.
Thanks in advance
|
|
|
|
|
starfox_2100 wrote:
Anybody know where I can get my hands on a simple to follow asp.net tutorial
QuickStart[ ^] for asp.net 2.0
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
hi friends,
i have been developing an asp.net application.
on one of its page, i have a button for which i have defined both events OnClientClick() & OnClick().
OnClientClick() event opens a web page which needs some information passed into session object by OnClick() event of the same button.
when i run the application, OnClientClick() event fires before OnClick() event and thus it results in an error.
i want to change the order of the events here. i want OnClick() event must fire before OnClientClick() event fires.
how can i do this ?
plz help me in this matter.
Varun
|
|
|
|
|
Can you not pass the required data in the JS call in onClientClick?
|
|
|
|
|
varun_789 wrote: i want OnClick() event must fire before OnClientClick() event fires.
how can i do this ?
AFAIK, you can't....you can stop the Click handler executing by returning false from the function, but I don't think you can change the order.
Guess you're going to have to call the onclick handler, then register some client script afterwards...
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
I want to use an ActiveX in my ASPX/HTML page. Everything is fine except for the following requirement.
I want to display the context menu which is shown by browser in Information Bar (Install ActiveX Control...) on the right click of the html page where the ActiveX component is used.
Please see the screen shot from the given URL for clear requirement.
http://63.134.215.155/OpMem/sshot.jpg[^]
Thanks
-Gurdev
|
|
|
|
|
I don't think you can, its the browser that handles that theres not much you can do about it.
|
|
|
|
|
I have alredy added a DataSet name Publications where I have add three tables.
Table(0) is Query_Volume_VolumeLessons
Table(1) is Query_Volume_Sectos
Table(2) is Query_Volume_Themes
Also put data on Table(0) from SQL SERVER DataBase
Now How can I put data to Table(1) From Table(0) , using a sqlQuery
Thanks
Sarfarj Ahmed
|
|
|
|
|
http://forums.digitalpoint.com/showthread.php?p=2524409
go through this it may be help full to you
|
|
|
|
|
insert into t1 (select * from t2)
|
|
|
|
|
Thanks a lot
It does work
Sarfarj Ahmed
|
|
|
|
|
Hi
I just done it in SQL SERVER DataBase and Create New Table but how I will do it VS
and How will it execuite the sql command . Please send me some code, I cant figure it out
Thanks
Sarfarj Ahmed
|
|
|
|
|
Public Function Qry_Volume_Sector(ByVal QryVolumeSector As DataTable) As DataTable
Dim _DataSet As DataSet = New Publications()
Dim _dataTable As Publications.Query_Volume_SectorsDataTable = New Publications.Query_Volume_SectorsDataTable()
Dim cmd As SqlCommand = New SqlCommand()
Try
cmd.CommandType = CommandType.Text
cmd.CommandText = "Insert INTO _dataTable (Sector, Voltype, Lesson) Select Title, Voltype, Lesson From QryVolumeSector Where Voltype LIKE '%SECTOR'"
'_DataSet.Tables(2).Load(cmd.ExecuteReader())
Catch ex As Exception
End Try
Return _DataSet.Tables(2)
End Function
Sarfarj Ahmed
|
|
|
|
|
hi ther iam new to asp.net , so when iadd any control to the first web form i can access the vb related file default.aspx.vb but when i add any control to anothe new one wheni double clicl on this control it takes me to the .aspx file to the script part as if there is no .vb one , so i run it it keeps telling that this control is not a memeber of this page ,?! any suggestions
Viper Investigates...
|
|
|
|
|
Viper825 wrote: not a member
Are you missing runat="server" for that control??
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
no no for instance i made another webform and added a button anddouble click on it it gave me this on the aspx file :
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
End Sub
<title>Untitled Page
<asp:button id="Button1" runat="server" onclick="Button1_Click" style="z-index: 100;
left: 0px; position: absolute; top: 0px" text="Button">
Viper Investigates...
|
|
|
|
|
Where is Button1 control in aspx file??? It should present under form html tag.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
normally in the default page (the first one ) i double click on it andit takes me to the default.aspx.vb for instance but this not ! and keep telling hat watever control i drag and double click on it it takes me to default2.aspx for instance instead of default2.aspx.vb ?!
Viper Investigates...
|
|
|
|
|
Viper825 wrote: i drag and double click on it it takes me to default2.aspx for instance instead of default2.aspx.vb
Do you have
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default"%> line at the top of aspx page. check the missing attributes.
This is how code behind file looks
Partial Class _Default
Inherits System.Web.UI.Page
End Class
If you miss CodeFile attribute into aspx Page, then it adds event handler into the aspx file.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
at the default it is there but in the other webforms not there.
Viper Investigates...
|
|
|
|
|
Viper825 wrote: at the default it is there but in the other webforms not there.
It should present, if you want to use code behind for aspx page..
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
but i want to write vb code for other webforms and it allows me to do that under the script tag insidethat aspx page, i know it should send me to a .vb page but man it is doin it only for the first page not for pages i add later, coz it will tell me that thwe controls are not members
Viper Investigates...
|
|
|
|
|
Could you send the code snippets from aspx as well as code behind??
Which version you are using for development vs2003 or vs2005???
Knock out 't' from can't,
You can if you think you can
|
|
|
|