|
thanx Sir 4 ur advice... but i think these charts are different than S-curves... S- Curve is a parabolic chart na??
Gurudatta B. Shelke
|
|
|
|
|
hi all
i would like to know how to restrict ..user to enter only numeric values in textbox.
i tried using keypress events and error provider..
but it doesnt met my requirement..
if user enter text it shouldnt be allowed..
thanks in advance for ur valuable reply..
let me know the best to do it
|
|
|
|
|
One of the simple ways is to use the RegularExpressionValidator to validate the input textbox value. You can also use client side script to prevent the user from inputting non-numeric characters, you can use google to search for the sample script, or you can see a sample control from the telerik[^].
|
|
|
|
|
I have a Asp.net 2.0 asp:FileUpload control on my page.
I want to keep the file name(file path) in the asp:FileUpload(textbox) after uploading the file.
I din't find any set property for asp:FileUpload
Any idea how to do this.
Regards,
Reji
|
|
|
|
|
The FileUpload control renders as the input file element at the client side, and the value of this client side element is read-only, so you cannot persist the path of the uploaded file with this control. You may consider using a label instead.
Just curious you don't have even a name to display?
|
|
|
|
|
Ok Thanks 4 the info...
I don't know why name not showing there....
Regards,
Reji
|
|
|
|
|
@Reji,
Simple Answer: You can not feed values to Input File control. It is for security reasons. Otherwise a malicious website can feed c:\winnt\system32\ and then upload the files from your system right?
|
|
|
|
|
i have following difficulty :
how to set the value of custom validator errormessage property in javascript function i.e. the clientvalidationfunction()?
is it possible in clientside script?
There's never a Wronge Time To Do The Right Thing !!
|
|
|
|
|
|
:(How to get number of visitors on html pages
|
|
|
|
|
|
thanks but the given url is not working and its not opening page
|
|
|
|
|
thanks but this code is not working for html pages
|
|
|
|
|
wish to add a media player on my web page to play audio and vedio. But not aware how to code it to play sounds online.
With Thanks & Regards
Amit Sk Sharma
|
|
|
|
|
You can use the object tag to embed to the player in your web page, you then need to use the client side script to do something like play, stop, pause .... You can easily find the sample code posted here using the search functionality or consult your friend google[^].
|
|
|
|
|
|
how can we restrict the treeview level....
actually when we r using treeview in .net 2005 we can add plenty of childs....
dont have any limits....
is it possible to restrict the levels....
|
|
|
|
|
If you create the TreeView nodes by binding the control to a data source, you might want to use the MaxDataBindDepth[^] property to limit the level.
|
|
|
|
|
give me clear idea please....
|
|
|
|
|
SwaSubhaVijju wrote: give me clear idea please
Step 1: Click the posted link.
Step 2: Read the document to see it is applicable to your case.
|
|
|
|
|
|
Hi,
I am working with an aspnet application which has a dropdown list control.
I am binding the data with dataset.The dropdown list width is set by the maximum character lenght, so I explicitly set the width of the control to say 50px, now the problem is some part text is truncated when it increases the specified width - 50px.
Can anyone tell me when I open the dropdown list its width should increase to the maximum character lenght and when I close it the widht should be the specified widht as 50px.
Thanks in advance,
Kalyan
|
|
|
|
|
Hi kalyan,
You can use the wordwrap property of dropdownlist to true so that the width of dropdownlist automatically increases
|
|
|
|
|
Hey MD, Does DropDownList has WordWrap property? I don't find such property for DropDownList Control in ASP.NET...
|
|
|
|
|
Here's the 30,000-ft. view: I wrapped an asp:Menu control in an ascx control. When I try to dynamically populate the menu in the ascx control, the items appear, but clicking on them fails to trigger the MenuItemClick event handler. However, if I statically declare the menu items in the .ascx page, everything is fine. Any ideas?
Here's the details:
My ascx page:
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="TabStrip.ascx.vb" Inherits="TabStrip" %>
<asp:Menu runat='server' ID='muStrip' orientation='horizontal'>
</asp:Menu>
Code in my ascx.vb file:
...
Public Sub AddItem(ByVal sText As String, ByVal bSelected As Boolean)
If (bSelected) Then
For i As Integer = 0 To muStrip.Items.Count - 1
muStrip.Items(i).Selected = False
Next
End If
Dim mui As New MenuItem(sText)
mui.Selectable = True
mui.Selected = bSelected
muStrip.Items.Add(mui)
End Sub
Protected Sub muStrip_MenuItemClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MenuEventArgs) Handles muStrip.MenuItemClick
' Raise user event handler.
RaiseEvent ItemClick(sender, e, miSelectedItem)
End Sub
...
Code in my calling-page .vb file:
...
Protected Overrides Sub HandlePageLoad()
MyBase.HandlePageLoad()
' Populate the tab strip.
If Not Page.IsPostBack Then
oxiTab.AddItem(" Administrative", True)
oxiTab.AddItem(" Maintenance", False)
oxiTab.AddItem(" Tests/Requests", False)
oxiTab.AddItem(" Reports", False)
End If
End Sub
...
If I put a breakpoint at the "RaiseEvent" call and try clicking on any menu item, I never reach the breakpoint. But if I add static menu items in the ascx page, the breakpoint IS reached.
Thanks.
|
|
|
|