|
Cast the reference in Page.Master to the specific class of your master page, then you can access the members of the master page.
---
single minded; short sighted; long gone;
|
|
|
|
|
I want to use control on master page, when i redirect to certan aspx.
I want to hold a permision struct in MasterPage, but when i use redirected to any aspx file using masterpage, so that aspx file woud have accsess to struct, then it would redirected to first page, if permision is inproper. I also want to hold struct in masterpage, because a menu is also generated based on permision. So to avoid certan steps like getting twice the permision from database, it woud get only once
|
|
|
|
|
Ok. Is there any problem when you do this?
---
single minded; short sighted; long gone;
|
|
|
|
|
my bad. I forgot for ContentTemplate tag.
edit: Wrong Post
|
|
|
|
|
I have custom Control "RounedCorners", And i woud like to know how to use it within AJAX Update Panel
|
|
|
|
|
What's special about the control that makes you think that you have to do something different when using it in an update panel?
---
single minded; short sighted; long gone;
|
|
|
|
|
I Have quick login with Rounded Control, so i want to be used with in update panel, Once logged in the quick login would change to control panel.
|
|
|
|
|
Ok. Is there any problem with using it in an update panel?
---
single minded; short sighted; long gone;
|
|
|
|
|
Error 1 panel1:Type 'System.Web.UI.UpdatePanel' does not have a public property named 'RoundedCorners'.
|
|
|
|
|
Does RoundedCorners inherit from System.Web.UI.Control, or any other class that does?
---
single minded; short sighted; long gone;
|
|
|
|
|
from System.Web.UI.WebControls.WebControl
|
|
|
|
|
I thought your control had this property. Apparently, the UpdatePanel itself, does not.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I forgot for ContentTemplate tag.
Thanks for the help.
|
|
|
|
|
I want to know what are the limitation?
|
|
|
|
|
Saksida Bojan wrote: I want to know what are the limitation?
There are no limits in the AJAX technology itself, you are only limited by the implementation that you use.
The IIS web server for example has a limit for the size of a request. By default it's 4 MB.
The size of the response is limited to the available memory on the server if you are using buffered output.
---
single minded; short sighted; long gone;
|
|
|
|
|
It doesn't magically work because you learned a new buzzword.
Hard to answer this question. I mean, how do you mean it ? It does what it does.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
When i asked, i thought it how far can i control the controls within update panel programmability without postback.
|
|
|
|
|
Once again returning to the codeproject to find some help.
During some developpement our client wanted a small tool for image editing. We wrote one in C# and load it as a dll on the client side thanks to an <object> and asp:placeholder.
The tool works fine but the amount of memory that is being used is enormous. (We're working with files of several mb). the worst is that when we leave the page the memory usage doesn't go down... we disposed all the object, used the garbage collector nothing works... so when the user opens 10 images IE stops because of a "out of memory" message.
We have tried the application as a standalone and well the memory usage is less and the garbage collector does what it needs to do but our client wants the application to stay inside IE (and they want to use IE and not firefox or other browser)
So the question is, is there a way to force IE to unload the dll, the picture etc. that I'm missing? or maybe another way to load the dll then the object tag?
Any solution would fit as long as when we quit the page the memory goes back to "normal" and well it needs to stay inside IE
any help would be greatly appreciated
Kind regards
its our widgets that make us men
|
|
|
|
|
you can use the concept of ThreadPool.
|
|
|
|
|
Okay, I'm going to look into that
thanks
its our widgets that make us men
|
|
|
|
|
can any one tell me how to return value to client when web service is called asynchronouslly ?
jignesh
-- modified at 9:01 Tuesday 25th September, 2007
|
|
|
|
|
|
hi ,friends
in same web page i have UserEntryform and a datagrid, how can i edit particular record from that datagrid.after clicking that particular record of datagrid ,userEntryfrom should be edited for that record.
please help me and provide me the code .
Dipak
Software Engineer
Bangalore
dipak kumar
|
|
|
|
|
This might be due to a language misunderstanding but "provide me the code" is considered rude on this site. You are expected to write your own code. If you get stuck or get unexpected results, post your code and then we'll help.
__________________________
Don't drink and derive.
Alcohol and calculus don't mix.
|
|
|
|
|
how to create mutiselect dropdown list.
In single dropdown list i have to put multiple list box ,and if user want to select items
from DropDownList then he will check that particular listbox .
after selection he has to confirm by SAVE or cancel in DROPDOWNLIST.
___________________________
|[]Option1 |
|[]option2 |
|[]option3 |
|[]option4 |
|__________________________|_
| [SAVE] [Cancel]|
|__________________________|
dipak kumar
|
|
|
|