|
You use anchor tags, but its poor design
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Ok, anchors may work but I do not know how would i implement them here, could you show me an example. Since you mentioned that this would be a poor design so what else do you suggest.
Your help is appriciated
Lili
|
|
|
|
|
You basically need to create an anchor for each position on the page you need to jump to and wite a little bit of javascript to do just that. There are plenty of examples to be found on google, just search for anchor text.
As I said earlier, it would be much better to filter the results so that only the relevant data is shown. While working with a few records the page load time is not significant, but if you had say 2 million records then it would ake forever to display the page.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Three forums including The Lounge.
Blog link to be reinstated at a later date.
|
|
|
|
|
Some people just don't get it.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Don't use words like urgent in your subject line or post. It is very rude.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hi guys
I have a gridview which uses onrowclick.
When a row is clicked an event is fired.
Is there a way to disable the row click on one of the columns?
thanks
The answers posted by me are suggestions only and cannot be used in anyway against me.
|
|
|
|
|
hi,
For disabling row click on one of the columns ,you can give an if condition on onrowclick event as below
If (e.ColumnIndex = 0) then
else
End if
In the else case you can write the code for that event.
Hope this will help you
|
|
|
|
|
Hi!
I have a menu in my master page file. I was checking to see if selected menu item was going to be assigned to Label's text property (which is inside a content file). However it seems that the procedure is not functioning somehow. If you enlighten me about the problem, I would really appreciate it.
Thanks.
<br />
admin.master.vb<br />
-------------------------------------------------------------------------------------------------------<br />
Public Partial Class admin<br />
Inherits System.Web.UI.MasterPage<br />
<br />
Public SelectedMenu As String = Nothing<br />
<br />
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
<br />
End Sub<br />
<br />
Private Sub Menu1_MenuItemClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MenuEventArgs) Handles Menu1.MenuItemClick<br />
<br />
'when I click one item, the menu should be invisible but it doesn't work<br />
<br />
Menu1.Visible = False<br />
SelectedMenu = Me.Menu1.SelectedItem.Text <br />
End Sub<br />
End Class<br />
<br />
'The label is inside a content file<br />
<br />
Label1.text =<%=SelectedMenu%><br />
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Can anyone give any idea for this
I am using a fileupload control in my application.
I am saving the file path in the database.
when I am editing the content of the database,
I need to get the file path from the database into the fileupload control box.
what is the property to get the file path from the database and show it in the file upload control?
|
|
|
|
|
hi sowmya,
Fileupload control is readonly,
we can not assign value to it.
use a label to display the path.
Regards
|
|
|
|
|
hi sowmya,
tis not possible to populate the filepath directly in the fileupload control.Instead u can show it in a textbox with a browse button nearby.
T.Balaji
|
|
|
|
|
since its readonly its not psble..u czn either display it in textbox or label
T.Balaji
|
|
|
|
|
Currently i m working on project in which i have to use inheritance in javascript
my requirement is i want to update field of classA from classB by creating new instance of ClaassA in ClassB
suppose i m in classsA ,then i have to move classB where i m updating classA field by making instance of claassA in ClassB . when i m back in ClassA fiels which i updated still not updated . so how i will be abe to do this
Raghvendra
|
|
|
|
|
I'm developing an application where I need to display large floor plan images in an area smaller than the image itself, so I'm looking for a control that would handle this for me.
I imagine it being just like google maps except I can load my own image into the control instead of using a real map. I found a few .NET image zoom controls but none of them can handle the push-pin type functionality - I'd need to be able to plot several points on the floor plan with labels or mouse over popups.
Does anyone know of a 3rd party control that can do this?
|
|
|
|
|
Hie all
I have developed a website and i want to access the pages from frmMain where users login, I have set the page frmMain as the start page but i can still type the page name like:
http://localhost:2942/Website/frmAddUsers.aspx and access it, Does anyone know how to stop this.
|
|
|
|
|
you need to implement Authentication in your web site so that user won't able to see any page without logged in
Is that you want ?
Search for Windows authentication
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
I want users to view pages after logging into the application, like in yahoo u have to submit your credentials before viewing your emails, even if u know the link to your inbox.
|
|
|
|
|
|
omlac wrote: http://localhost:2942/Website/frmAddUsers.aspx and access it, Does anyone know how to stop this.
i can see that you are running your application from the filesystem it is not running from IIS. To avoid this you should create virtual directory for your application. if you have done this already. In visual studio open your project from LocalIIS and select the related virtualdirectory(i.e., your application).
before running your project in IIS select your VD properties and add the default page as frmAddUsers.aspx
this might solve your issue
Regards,
Sunilwise
|
|
|
|
|
For that, You need to store credentials into a session.
And in each page u need to check whether session["user"] not null.
if it is a null then redirect it to login page.
regards
|
|
|
|
|
Inside that subfolder you can create a new web.config then for authorization set it to <deny users="?"> This way it denies all anonymous users and will redirect them back to your main page.
|
|
|
|
|
I didnt get you quite well, u said i need to create a subfolder where. I need to be a ble to create Session say to log out after 30 seconds it logs out.
|
|
|
|
|
If I am following what youa re saying correctly you have a layout like login.aspx and then safe.aspx which requires authentication.
Inside visual studio create a subfolder inside your solution and drag your safe.aspx page into there and right click on the folder click new then and add a web.config. Then add the security section I mentioned earlier. For your session timeout you can set that in your main web.config <sessionstate timeout="60"> or on your page load event and that page is only called once.
|
|
|
|
|
after a long analysis i opt for exentding the membership api and i found a good tuto on http://www.devx.com/codemag/Article/34492 what suit my application.i would use my interface rather but the problem is i can't access the code because the original code is on www.code-magazine.com which is unaccessible since saturday what is terrible for me.cause i spent too much time deciding and i need to have the big picture of that tuto before i start.if anyone has downloaded the code before please let me know.please this is pretty urgent!!!
eager to learn
|
|
|
|