|
Yes I was thinking about this as probably the best solution, but I'm not sure how to implement this. I was hoping somebody points me to some good tutorial as I colud not find any.
|
|
|
|
|
You can't find a tutorial on Ajax techniques?
17 million of them here...[^]
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
Well all tutorials on Ajax I found show how to get some data asynchronnly. But there is none to show how to asynchonnly redraw whole page except some part (for example my flash menu). I'm not wery strong in ASP.Net, I do mostly Winforms development so I need "good description" .
|
|
|
|
|
hi there
can any one help to create the database driven menus in asp.net
thanks in advance
|
|
|
|
|
which version of ASP.NET are you using?
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
|
|
Hi,
you have to get datafrom database and have to add MenuItem at runtime.
and if Item contains child Items then when creating New MenuItem, you have to add all child items in that MenuItem.
Hope this will help you.
Thanks,
Sun Rays
Rate this post if you like answer.
My Articles
|
|
|
|
|
Hi..
I have a user control . in that i have a text box..
in a web form i am using another text box and button.. along with user control.
now as soon as i type the text in user control text box, and click the button in web form , the text should be displayed in web form text box..
I am able to do it using Session..
Is there any other option of getting done??
Aswini
|
|
|
|
|
aswini07 wrote: Is there any other option of getting done??
TextBoxweb.text = Ctype(ucl.FindControl("textBoxcul"),TextBox).Text
Session Objects are not meant for assigning value from one textBox to another. I recommend you to read a good ASP.NET Book to learn how to do such a thing.
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Hi,
Write a public property for the user control
Sherin Iranimose
|
|
|
|
|
Hi friends,
I am using datalist controls.I want to access that control using javascript.Is it possible ? How can do this. plz help me
Thank& Regards
Vijay s
|
|
|
|
|
A datalist control will be rendered as HTML table or div tags. Why do you want to access them through JS ?
|
|
|
|
|
Because I am using checkbox in DataList.If i click checkall button all checkbox are selected.I have done this in server side.but i like to do this in client side
Thank& Regards
Vijay s
|
|
|
|
|
Vijayitsb wrote: but i like to do this in client side
In the "Check all" check box call a JS function from Onclick event. Loop through all datalist records and check the other checkboxes. To get how many rows datalist have, keep a public variable and assign the row count to there. You can take this variable value to JS and start loop.
|
|
|
|
|
Hi,
can you explain for what purpose you want to do so ?
Descriptive message plz....
Thanks,
Sun Rays
Rate this post if you like answer.
My Articles
|
|
|
|
|
Vijayitsb wrote: I want to access that control using javascript.Is it possible ?
you can access any control on the client-side through JavaScript using the following statement document.getElementById(ClientID) .
Note: Every child control placed in the DataList will have a Unique clientId for each item.
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
|
you dont need to access datalist control to access checkBox you just need to send number of rows for ur purpose and then loop through all the rows..
for(var rowNum=1; rowNum<=parseInt(TotalRows,10); rowNum++)
{
if(document.getElementById('checkBox'+rowNum).checked = true;
}
I guess this code can help u out..
|
|
|
|
|
Thanks
Thank& Regards
Vijay s
|
|
|
|
|
the problem is that i used the following code to download a file from server to the client machine....
Dim strFileName As String = "createuser.tif" ' it is the file in server
Dim fs As System.IO.FileStream = Nothing
fs = System.IO.File.Open(Server.MapPath(strFileName), System.IO.FileMode.Open)
Dim btFile(fs.Length) As Byte
fs.Read(btFile, 0, fs.Length)
fs.Close()
With Response
.AddHeader("Content-disposition", "attachment;filename=" & strFileName)
.ContentType = "application/octet-stream"
.BinaryWrite(btFile)
.End()
End With
it has worked fine promting a message where to save the tif file ...but when i downloaded download Accelerator Plus and running the asp.net application instead of getting the tif file iam getting default.aspx page of the application how this problem is solved
|
|
|
|
|
Don't repost[^]
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
|
Hai,
Please help me ,i want it urgently.so kindly help me...........
|
|
|
|
|
SreejithAchutan wrote: Please help me ,i want it urgently.so kindly help me...........
If you want it urgently, pay for the solution - there are many here who will help if you pay. This is a voluntary forum. We will help if and when we can.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|