|
Hi,
Only one way I know, we have to write that code in every page.. thats why I said use oops concept that helps a little.
When I developed my project I got same doubts what you got now. I searched a lot and asked many people they said only this.... what I said to you.
Ok then all the best. If you will get the easy way for this problem don't forget to post.
|
|
|
|
|
Hi friends,
I developed a web application using ASP.Net + C#.Net + Sql Server2000.
For this I used 1.1 version. It is working perfectly in this version. Now I want to change this application to 2.0........
I changed the application to 2.0 using 2005 DotNet Visual Studio. But it is not working b'cos some files in my application changing it's path.
**** I developed application in two languages English and German. For this I used satilite assemblies using resource files (.resx). I put these files in Resources Folder and filenames are prm.en.resx & prm.de.resx.
Here my project name is prm, Resources is a folder and PRM is file base name.
ResourceManager rm =new ResourceManager("prm.Resources.PRM",Assembly.Load("prm");
This code is working fine in 1.1 version.
When application is converted to 2.0 then resource files are resides at another folder - app_GlobalResources folder that is DotNet 2005 rule to keep resource files in that folder.
My Error is : Resource path not found
I changed the path ....... and tried but still iam getting same error.
Thanks
Regards,
Pavan.
-- modified at 4:19 Tuesday 21st November, 2006
|
|
|
|
|
Hi
I am really stuck with this one.
I have got a treeview control in a Master page.
When I click on a node, it gets transferred to another page via NavigateURL. The other page (navigated to) also uses the same master page. However, I lose the selected node highlight as its a new page and viewstate does not help.
I tried to store the selected node in session and set it on page_load of Master, content, page_init of Master and content - all these approaches return null reference when I try to get a handle to the treeview.
I tried FindControl (straight& recursive) while doing the above.
I am still not successful. From user's point of view this seems to be a straight forward requirement, I was surprised to find it technically challenging (to me at least )
Can somebody please help?
Shreekar
http://shreekarishere.blogspot.com
|
|
|
|
|
Hi,
I have a money field in my database.
I retrieve the value from a sql server 2005 db, using GetSQLMoney() in asp.net
I bind this to an object, like objPanelMem.GetSQLMoney(10)
The problem is, now I retrieve the currency EG "235.6800". I would only like to retrieve the currency as "235.68". How can I do this?
|
|
|
|
|
The way we create simple reports on crystal reports (vb.net, Access/Sql)on local machine, is is possible to get same kind of report on online system while accessing web server rather then local server??
thnks
Shriya
|
|
|
|
|
I have the following code:
Label1.Text = "Click " & "<a ref='JavaScript:window.history.go(-2)>Back</a>"
I would like to align to left the label text in run-time.
Thanx
Eric H.
|
|
|
|
|
AFAIK, the alignment will be relative to the parent of the text. So if the label is inside a table, set the column's alignment, if its inside a div, set its alignment and so on...
For runtime behaviour you might need to use some DHTML.
I may also be completely wrong since today does not seem to be a bright day for me.
Shreekar
http://shreekarishere.blogspot.com
|
|
|
|
|
hello all!
i do binded data from the database onto the datagrid.Datagrid contains a templated column which displays some image.i want to navigate(some anotehr page)to the respected resource while clickig on the image present in the grid. Plz send me apprapreate code or articles related to meet this scenario.
any information will be appritiated..yuvaraj
yuva.charan@gmail.com
|
|
|
|
|
You can use onitemdatabound event of the datagrid to perform this task(if you want to put new page to go synamically) or there in the html part also you can give the page to navigate if it is there in the database and you don't have to perform any operation on that.
Also Here[^] you can get so many examples on datagrid.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi people
Which has better performance in ASP.Net: "InLine Code" or "Code Behind" ??
I think InLine is faster than codebehind,
and you ????
|
|
|
|
|
faviochilo wrote: I think InLine is faster than codebehind,
I think you're nuts.
If anything, code behind will be faster, but as it's precompiled, I expect it's the same. The only difference is that inline code is an unmaintainable mess.
Christian Graus - C++ MVP
|
|
|
|
|
Regardless, you can't make decisions like in-line vs code-behind based on performance reasons. "Make it right, then make it fast."
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter, VB to C++ converter
Instant Python: VB to Python converter
|
|
|
|
|
hi..
I have built an application in IE6 ... but when viewed in IE7, it looks in distorted manner ... eg : textBox overlap with each other , table borders are not visible, AJAX controls are not visible(search comboBox)...
please provide the solution to make application compatible in IE7 browser...
thanks in advance...
|
|
|
|
|
Dear Sir
How to view an uploaded file which was uploaded during the run time.
Thanks in advance
Smitty
|
|
|
|
|
If you have Word installed, I believe it will just oepn in the browser. The same needs to be true of any file, if you want to view it in your app, IE needs to be able to view it.
Christian Graus - C++ MVP
|
|
|
|
|
HI all ia m devloping the Windows Application in VS2003 in which i have added the class library of another project and the problm is that
i need to show Window continuesly updating the status but while i call the class library function of another project the Windows form become inactive tell me how to make that form active throught the process
|
|
|
|
|
This is ASP.Net forum. Please post this in another forum.
By the way, you can use Application.DoEvents.
Shreekar
http://shreekarishere.blogspot.com
|
|
|
|
|
how to pass hour and minutes in crystalreport in asp.net with vb.net
|
|
|
|
|
Hello,
I add a table to my webform (3 rows,3 columns). In each one of the cells, I am inserting a button.
I would like to hide the table in run-time and then the 9 buttons will be hidded.
Is it possible?
Eric H.
|
|
|
|
|
yes you can use javascript code to show and hide the html table using style.display = 'none' .
Best Regards,
Apurva Kaushal
|
|
|
|
|
How i am doing this from codebehind.
I have to do it when I am clicking on a button(control server).
(I gave an ID=Table1 to my table).
Eric H.
|
|
|
|
|
Why you want to do it on server side if you can do the same on client side using javascript?
Best Regards,
Apurva Kaushal
|
|
|
|
|
because I am doing a lot of other operations in addition of hiding the 9 buttons.
Eric H.
|
|
|
|
|
In that case you can just make that html table a server side control and then you can hide it using visible = false;
Best Regards,
Apurva Kaushal
|
|
|
|
|
I though about this solution, may it cause some problems?
If not this is the best solution for my case.
Thanx
Eric H.
|
|
|
|