|
How do you mean you want to call it, do you mean embed it in your current page?
We are not a Code Charity
|
|
|
|
|
|
Surly this is just a link to another page then, as per normal?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I have no idea what this person is trying to achieve, I asked him to explain and he just re-posts almost the same question.
Never mind
We are not a Code Charity
|
|
|
|
|
Dear All,
I have an grid and in that a cell has a button and by clicking on it it has to show a modal popup.
While binding the data in the grid I iterated the rows and took the butotn control and assigned an event handler in which I have written the code to show the modal popup.
But it is giving the error related to event violation.
But for link buttons it is working fine.
Can any one help in this regard?
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
|
hi
u can do the Regex checking in javascript it self...i think that will be easy for u ..
regards
joe
|
|
|
|
|
thanks for ur response.
i am filling the other textbox's by fetching data from database and then filling on this perticular textchanged event.
so in javascript i cant do all this.so any other suggestion please.if u have some examle let me know
kissy
|
|
|
|
|
Hi,
I have used frames in my page i wanna dynamically load frame
For this i used this code in code behind
<br />
Dim fram As New System.Web.UI.HtmlControls.HtmlForm<br />
<br />
fram = CType(Me.FindControl("lower_frame"), HtmlControl)<br />
<br />
Dim src As String<br />
src = "left frame.aspx"<br />
<br />
With fram<br />
.Attributes("src") = src<br />
.Attributes("width") = "100%"<br />
.Attributes("height") = "328px"<br />
End With<br />
<br />
It gives error that
Object reference not set to an instance of an object.
Thanks with anticaption
Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...
|
|
|
|
|
I noticed that you are trying to assign frame control in Form control.
Dim fram As New System.Web.UI.HtmlControls.HtmlForm
fram = CType(Me.FindControl("lower_frame"), HtmlControl)
(1) You can use by make it as runat server
or
try this:
Dim frame1 As HtmlControl = CType(Me.FindControl("frame1"), HtmlControl)
Parwej Ahamad
R & D with IIS 5.0/6.0
|
|
|
|
|
Thanks 4 ur quick response
I have made it runat="server"
n used this
Dim frame1 As HtmlControl = CType(Me.FindControl("frame1"), HtmlControl)
but still facing the same problem....
Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...
|
|
|
|
|
Hi,
find with your frame id which i have bold:
Dim frame1 As HtmlControl = CType(Me.FindControl("your_Frame_id"), HtmlControl
Parwej Ahamad
R & D with IIS 5.0/6.0
|
|
|
|
|
Have you spelt the findcontrol name wrong? check that first
object reference means you are trying to reference something that doesnt exist yet
We are not a Code Charity
|
|
|
|
|
Thanks to both of u
i wrote right in my project but by mistake wrong in above post
<br />
this is frame<br />
<frame name="right_frame" src="rightframe.aspx" runtat="Server"/><br />
<br />
<br />
in code behind<br />
<br />
Dim frame1 As HtmlControl = CType(Me.FindControl("right_frame"), HtmlControl)<br />
<br />
Dim src As String<br />
src = "abc.aspx"<br />
<br />
With frame1<br />
.Attributes("src") = src<br />
.Attributes("width") = "100%"<br />
.Attributes("height") = "328px"<br />
End With<br />
i don't know where i m wrong???
Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...
|
|
|
|
|
Are you using frameset ?
If no then change as below
<IFRAME name="right_frame" src="rightframe.aspx" runtat="Server"/>
Parwej Ahamad
R & D with IIS 5.0/6.0
|
|
|
|
|
Hi Friends.
Please, tell me how can I add service reference in asp.net(C#) application.
Thankx
|
|
|
|
|
check this out:
http://forums.asp.net/t/1262470.aspx
We are not a Code Charity
|
|
|
|
|
Windows Servie or WebService ?
Parwej Ahamad
R & D with IIS 5.0/6.0
|
|
|
|
|
|
|
Hi
I have some very fussy users.
Normally when you tick a tickbox it shows a tick in the box.
They requested a X to show in the box,
any1 know if thats possible?
thanks
We are not a Code Charity
|
|
|
|
|
.netman wrote: Normally when you tick a tickbox it shows a tick in the box.
They requested a X to show in the box,
any1 know if thats possible?
I think that is not possible but instead of checkBox,you can also use images like as checkbox. Take two image with and change alternate both image and store value in hidden field.If it is chcked,value is 1 otherwise value is 0.
Regards
kHan
please don't forget to vote on the post that helped you.
|
|
|
|
|
OK thanks
as I suspected you cant do, I think doing it the image way would be to much hassle.
cheers
We are not a Code Charity
|
|
|
|
|
Hello everyone,
I have an ASP.Net web application that is using Asynchronous paging. I have checkboxes on it, the value of each checkboxes are IP addresses. If a user has checked all checkboxes then the program will collect all IP address. The program works fine if a user only check 1 checkbox only, the most complicated part when a user checks multiple checkboxes. The reason why I am using checkbox control is because I am collecting data that are came from different SQL server thru the IP addresses of checkboxes, and merge all data using dataset if a user checks multiple checkboxes. I will show you my code:
Session("IpAddrs1") = "Server=" & chkHallList.Items(0).Value & ";" & strHallCon -> (used for initializing connection string depending on checkbox value)
Dim task1 As New AsyncTasks.Tasks()
Dim asyncTask1 As New PageAsyncTask(AddressOf task1.OnBegin1, _
AddressOf task1.OnEnd1, _
AddressOf task1.OnTimeout1, _
"AsyncTask1", _
True)
Page.RegisterAsyncTask(asyncTask1)
Page.ExecuteRegisteredAsyncTasks()
Above codes are only used if there is 1 IP address, my problem is how can I enhance my program that can use multiple Asycnrhonous tasks? Would that be possible? I know that we can use multiple Asynchronous processing, but how can I do that dynamically?
Thanks in advance.
|
|
|
|
|
just use += to keep adding a selected checkbox value to a session if thats where you want to store it
We are not a Code Charity
|
|
|
|