|
We are developing application using .Net 2.0 , Vb.net. We have a following requirement
We need to develop a user control or a master page which has the following menus: Save, Submit: Approve
This User control or a master will be included in webpage A, B, C. When we are in Webpage A, on click of Save ( on control ), the save functionality of Page A should be called. When we are in Page B, on click of Save, the save functionality of Page B is called. If some one know how to achieve this functionality let me know and any sample code is very useful
Thanks and regards
shyam
|
|
|
|
|
It's called Event Handling
only two letters away from being an asset
|
|
|
|
|
n my project have sub menu . When I click the sub menu option ,it displayed everything.
In Main page have two drop down lists. When I was moving to upward the sub Menu, two drop down lists will display in the title bar of the SubMenu . The title bar contains the title and Close(hyperlink) .The title bar is div control.
Is it possible to hide the drop down lists when I moving to drop down lists?. The drop down lists are dynamically created.
Apart from "Z-Index". Pls give the solution as soon as possible.
|
|
|
|
|
z-index does not work for listboxes, but there is a way of making this happen using an iframe under your divs, please see here[^] as an example.
|
|
|
|
|
Mr.Paddy Boyd,
In my sub menu Iframe has been used. Is it any way to overcome this problem?
-- modified at 7:01 Wednesday 4th April, 2007
|
|
|
|
|
And that hasn't fixed your problem?
|
|
|
|
|
Are you sure you're expanding the iframe to match the size of your div?
|
|
|
|
|
HI all,
There's any measure or method for a better display and functionality of Asp.net controls in Mozilla browser.coz all the controls are working fine in IE but the textboxes are compressing,validators are not working in the Mozilla.
Pls help me in this issue.
thanks in advance
Have a Nice Day Dudes
|
|
|
|
|
Web service security is implemented using WSE 2.0 credential passing technique or just block the anonymous access and enabled Integrated Window Authentication. In case of WSE i don't need custom UsernameTokenManager.
Can any one help me to find out the differences between two.
I don't want to allow user acces the web service through URL.
Thanks
Lokesh
|
|
|
|
|
Hi there ,
Can anyone help me out!!
I have a report (basically retrieving of records from the database and show it in a htm table format)
which is displayed on the browser as htm table..
Now my problem comes here..
I was asked to program such that the report is shown in excel rather than as html table..
with great enthusiasm I started working only to find out i am not able to do..
Pls help me out!!
I am posting my code here :
<html>
<head>
<title>Result of Database Query</title>
</head>
<body>
<h1>Result of Database Query</h1>
<%
set myconn = server.createobject("adodb.connection")
connection = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("g1.mdb")
myconn.open (connection)
set result = server.createobject("adodb.recordset")
sql = "SELECT * FROM tblComments1 WHERE Field2 Like '" & request("device") & "%' and Field8 Like '" & request("status") & "%'"
set result = myconn.execute(sql)
if not result.EOF then
response.write("<p>Data for " & request("place"))
response.write("<table border=2><tr><th>Device Group<th>Device Name<th>Interface name<th>Type<th>Description<th>Duplex<th>VLAN<th>Status<th>Speed<th>Security")
while not result.EOF
response.write("<tr font size=5><td>" & result("Field1"))
response.write("<td>" & result("Field2"))
response.write("<td>" & result("Field3"))
response.write("<td>" & result("Field4"))
response.write("<td>" & result("Field5"))
response.write("<td>" & result("Field6"))
response.write("<td>" & result("Field7"))
response.write("<td>" & result("Field8"))
response.write("<td>" & result("Field9"))
response.write("<td>" & result("Field10"))
result.movenext()
wend
response.write("</table>")
else
response.write("<p>No Entry for " & request("place"))
end if
%>
<%
sExport = Request.QueryString("export") ' Load Export Request
If sExport = "excel" Then
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-Disposition", "attachment; filename=" & ewTblVar & ".xls"
End If
%>
</p>
</body>
</html>
max
|
|
|
|
|
hi friends
pls comment
can we use a windows user control with a timer , in an aspx page?
rgds
|
|
|
|
|
yes, we can use windows user control with a timer.
pls have a look at this article.Get it[^]
Hope this will gives an Idea.
Regards,
Satips.
|
|
|
|
|
hi
Actually I have used the same thing,but I am unable to view the control,
thanks
|
|
|
|
|
Whaat error it Shows ? why unable to view the control?
Regards,
Satips.
|
|
|
|
|
I have created a user control with a label and timer,then copied the dll to the project folder ,not in the bin,then used the following code
<object id="MyWinControl1" height="200" width="200" classid="MyTimer.dll#MyTimer.UserControl1" viewastext="">
in source
one error is that there is no attribute called,viewastext,if we remove that we can run it,but nothing is displayed on the page
|
|
|
|
|
Hello,
How to raise events of UserControl on .aspx page?I have created a UserControl(containing dropdownlist).I have loaded Usercontrol on some button click() on .aspx page using LoadControl() method.Now when I select an item from dropdownlist,The selected item should be displayed.
Please help me.If possible try to expalin mw with an example.
Regards,
Aekta
|
|
|
|
|
pls check out this link
http://aspnet.4guysfromrolla.com/
articles/031704-1.aspx
hope this will help
rgds
|
|
|
|
|
hi its me again
just to refresh my memory
to change a string to a int type is
int number;
string word;
number = word.toint;
am i rite?
coz i thing i forgot something
|
|
|
|
|
int.Parse(...), something like that, I forgot too
reference from msdn
<< >>
|
|
|
|
|
neodeaths wrote: hi its me again
When you came previously ?
neodeaths wrote: number = word.toint;
I think you can use any of the following
int.parse (string)
convert.toint(string)
|
|
|
|
|
Hi,
y can yuse also nullable type
good luck
Developper
|
|
|
|
|
Hi,
y can use also nullable type
good luck
Developper
|
|
|
|
|
hello friends..I want to create url like www.website.com/iamdking .when I type this url in browser ..i must be redirected to my profile.suppose profile.aspx.How to do this..Plz help me..
|
|
|
|
|
when user type http://www.website.com/iamdking, the webser will search for default pages (ex: index.html,default.html,...) and this can be set in the webserver. As ur need, just put your default page there, and do redirect to profile.aspx
<< >>
|
|
|
|
|
Thanks...But the name iamdking may according to username.It is working if i give...www.website.com/index.aspx/iamdking and gives error like "page not found" if i give www.website.com/iamdking..plz reply soon.
|
|
|
|