|
wanadoo wrote: Hope that is clear(!) Any guidance would be much appreciated.
You need following steps to do the task
1. Place a div tag on the page.
2. Create a global variale in Javascript with default value '1'
3. When user hit a Create Button from interface, it should call Javascript function. This function should, create a new Table, assisgn this table the ID that the Global variable has. Now create as many as controls you want. For eg for 'name' create input control with id name_1 i.e. append the value of varible to id of every control.
Now with the delete function of row create it as DeleteRow(1); 1-value of global row. now the called function knows which table and controls to delete.
Increment the Global variable by 1(One)
4. Append the generated table text to the DIV.
|
|
|
|
|
Hello Everyone
I am new in asp.net 2.0 and i am working on webpage where i want to use Regex to validate my textbox.
My textbox only contains charcters and spaces allowed.
I want only charcters and space allow in my textbox, no special charcters and numeric values are allowed.
I am using the Regex such as "^[a-z]*$"
Thanks in advance
Saurabh Agarwal
|
|
|
|
|
this was a question ?
Regex.Replace("stringInput", @"^[a-z]*", "", RegexOptions.IgnoreCase);
|
|
|
|
|
Hi,
I want to know how can we prevent multiple login in ASP site using same userid and password?
Design suggestion are most welcome !!!
Thanks,
|
|
|
|
|
My suggestions are as
1. Add new column in Master table, isLoggedIn(Bool Type)
2. Create New table to keep log of user i.e. when logged in/out.
When Uses logs in the System, LoggedIn bit should be set to 1. When he logs out set this bit to Zero.
Note: The issue with this aproach is that you need to make sure that user always out.
Secondly, you can use a hash table to store the information of logged in user. Place this hash table in Application variable.
When user tries to login, check if he is already logged in or not.
Do add a time stamp of login. Update this timestamp regularly to check whether user is active.
|
|
|
|
|
Hi!
I' trying to layout some div inside another div, both float: left and some padding but without specifying widths.
we all know the issue with IE and width and padding ...
I know the trick width: 100px !important; width: 120px;, but here I specify width.
Is it somehow possible to achieve the effect without widths??
thanks for any help!!
life is study!!!
|
|
|
|
|
Are you talking about the box model bug[^]? The best solution is not to use css hacks, but to put a doctype on the page so that it's rendered in standards compliant mode.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
overflow: hidden on both divs
overflow: auto on the inner if you want it to scroll with a set height
|
|
|
|
|
hi
i'm having troubles debugging an BHO with IE7 and VS 2008
i'm using the BHO from http://www.codeproject.com/KB/cs/Attach_BHO_with_C_.aspx[^]
the application is working fine for me
I searched to how to debug BHO. this is what I found:
"Set your IE home page set to about:blank . That way you can start up the browser as fast as possible and go where you need to. So, start up the first IE window. Then, from VS.NET use the Attach to Process item in the Debug menu to attach to iexplore.exe. Set breakpoints in your BHO. To break within the constructor, just open a second IE window."
I did that but it didnt work for me
it's just ignoring my breakpoints
do you know otherway to debug?
or maybe I'm missing something?
thanks
|
|
|
|
|
|
|
Please have a look on my doubt. i want to develop a SIP fone application.I think the sip communication is supported by Adobe Flash , no need to use an extra SIP stack to implement this.is it correct or not???if i am wrong, how to solve this???
Thanks in advance..
|
|
|
|
|
SIP and Flash are different technologies
I think they are not compatible.
|
|
|
|
|
Actually am also contemplating on various modes for the sip phone to be developed on a web browser just like www.flashphone.ru . r u on the same way???????
|
|
|
|
|
yes..just check this..u will get an idea..
www.vaxvoip.com
|
|
|
|
|
The link provides information to develop a soft phone in web page by aciveX control. which the user actually need to download a plug-in and install it.
what we are looking is to develop a web page from which the user can actually browse the application and can make calls directly from the browser just like www.flaphone.com
please help me in this regard
best
sudhir marni
|
|
|
|
|
had any clue bigpish
|
|
|
|
|
Check this out - Flashphoner
Only Flash SIP server which allow you make your own flashphone very easy.
Flashphoner support Speex, G711. And certainly it support SIP 2.0
Curretnly guys work with H263 support, so there will be video calls support soon
There is free developer version - you can download it here
Documentation here
Enjoy!
|
|
|
|
|
Hello!
Please check www.flashphoner.com
This is RTMP-SIP server which can help you here
Functions:
- Audio - Speex, g.711, g.729
- Video - h.263, h.264
- SIP - calls, transfer, hold, DTMF, IM chat
- API - ActionScript, JavaScript
- Open source client
- Open source server java app
Thanks,
Pavel
|
|
|
|
|
following Exception occurs on using grid.rendercontrol(hw)
Control of type 'DataGridLinkButton' must be placed inside a form tag with runat=server.
i am working on a web application built in asp.net and vb.net framework 1.1
i need to export a grid to excel using a button click.code for button click is given below
the code snippet works fine for one web page but causes exception on the other.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Response.Clear()
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader("content-disposition", "attachment;filename=FileName.xls")
Response.Charset = ""
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Dim tw As New System.IO.StringWriter
Dim hw As New System.Web.UI.HtmlTextWriter(tw)
HtmlTextWriter(stringWrite)
Grid.RenderControl(hw)-- exception caused here
Response.Write(tw.ToString())
Response.End()
End Sub
Not able to find where is the problem....Please help
|
|
|
|
|
meg22 wrote: Control of type 'DataGridLinkButton'
Are this button are generated at runtime ?
cheers,
Abhijit
|
|
|
|
|
i don't know but i too think the same..
|
|
|
|
|
how to create forums using .net/phpandmysql. i need the code.pls help me........
vkv
|
|
|
|
|
configure the PHPBB package.
This is one of the finest package for forums in PHP MySQL.
Girish Nbr.
|
|
|
|
|
hai girish,
sir i have configure php with php,
i am doing project webdevelopment,
i need ideas to create forums in php,
give sample code.
plz help me it would be better to develop
thankyou..............
vkv
|
|
|
|