|
When I add a resource file to the App_GlobalResources folder in a Web Site and Web Application Project I get this difference in behaviour.
1. In a Web Application Project I get a resx file and a designer.cs file.
2. I get intellisense displayed for the localization strings, e.g., "Looks up a localized string similar to Invalid login, please try again."
In a Web Site Project
1. I get just a resx file.
2. I get no intellisense (because there's no designer file).
Why is there a difference in behaviour? Is there a way of getting the same behaviour for a Web Site Project?
Kevin
|
|
|
|
|
Hello,
I want to call a crystal report from my .aspx webpage. I am using ASP.Net 2.0 and VB.Net
I want to get the crystal report by passing a parameter to stored procedure.
Thanks.
|
|
|
|
|
How to wireup a method for Page_PreInit event in masterpage?
|
|
|
|
|
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
}
edit oops. I don't know if there is a preInit. But you can put code before the base.OnIinit(e) method.
I didn't get any requirements for the signature
|
|
|
|
|
Master Page don't have Pre Init Event
Might be you can't access access Master Page in this event as it might not have been initialize Master page gets initialize on init (inner to outer )First Child controls gets initialzed and then Page gets initialized
Could you tell me what you have to do ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
modified on Thursday, February 14, 2008 1:18 AM
|
|
|
|
|
Sure! I would like to allow user to change the application theme on my master page (by using dropdownlist for example). And then to apply the selected theme to every page being shown.
Thank you for help
|
|
|
|
|
Ya you can do that in Pre init event by getting value of dropdownlist from request object and set the theme in preinit page
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hello Friends,
Can anybody let me know how to do Edit,Update and Insert in DetailsView programatically. I've done Edit in GridView by using the following code
protected void GridView2_RowEditing(object sender, GridViewEditEventArgs e)
{
GridView2.EditIndex = e.NewEditIndex;
bindDataGrid();
}
but EditIndex is not supported in DetailsView
.........
|
|
|
|
|
hi all
did anyone used asp maps(from vds technologies)in your application.if yes means explain me how to create our own maps and move an image in that..(for a vehicle tracking system project)
pintoo
|
|
|
|
|
Do they not hae support forums ? That's the place to find people who know what you're talking about.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How can i produce a thumbnail during the mouseover (or) Hover Property is onvoked.
I am using .Net2.0 and there is no onMouseOver property. It has Hover property but i am not able to set the thumbnail. It is only possible to set the color and font of the Hover property.
Can Somebody please Help me to find out my Solution.
I would be very greatful to u.
VanithaVasu
|
|
|
|
|
Hi ,
Can anyone tell me how to refrsh the gridview with out refreshing the
whole page but not by using the ajax updatepanel, it should be by
xmlhttp request.
Sachin Mukhija
Sachin Mukhija
|
|
|
|
|
Hello
I have application whose application level variables need to be reset. This can be done by resetting the IIS. But the problem is that the server is having other applications also. this will reset for all the applications
I want to know is there any way i can reset for a particular website hosted with IIS.
Regards
|
|
|
|
|
I am not very sure but try ur declaration part in the Global.asax file where it contains Application_Start event. Here u can empty or Dispose all the variables and again declare.
Let me know it is working or not.
VanithaVasu
|
|
|
|
|
Thanks for the reply
The problem is that i cant make changes to the code as the client has already hosted the application. its thru something like this i have to do it. something like iisreset. but this should be for a particular application.
Regards
|
|
|
|
|
hello sir
i want to use dialogbox in asp.net with c#.
but i didn't idea about it
so pls help me.
gayatri
Gayatri
|
|
|
|
|
There is no built in dialog box in asp.net like desktop application either u have to develop it or u can use javascript
|
|
|
|
|
hi Gayatri,
Thare is no built in DialogBox in Asp.net such as Windows form. To display DialoBox you should use JavaScript function as follows.
<br />
<html> <br />
<script language="JavaScript"><br />
function MsgOkCancel() <br />
{ <br />
var fRet; <br />
fRet = confirm('Are you sure?'); <br />
alert(fRet); <br />
} <br />
</script><br />
<body><br />
<a href="javascript:MsgOkCancel();">test me</a> <br />
</body><br />
</html><br />
Hope this will help you.
Thanks & Regards
Dilipv
|
|
|
|
|
hello sir
i am using asp.net with c#.
i want webform in small size.and it run in small size.
so pls help me.
gayatri
Gayatri
|
|
|
|
|
what do you mean?
why don't you just set the form properites to the size you want it
|
|
|
|
|
use javascript......showmodaldialog will work for you
sebastian
|
|
|
|
|
Hi,
I am developing one portal in that I am using richtext box to format the text. I did it. And I am saved it as HTML Encode using System.Microsoft.Application.AntiXss library Dll. I working fine. But when I am retriving it from the database and display on the page in side it is dispaling like
<P align=center><B><FONT color=#ff6600 CVbhz="0" lHr4T="0">Looking for Executive Trainees</FONT></B></P> <P CVbhz="0" lHr4T="0">NTPC is looking for promising, energetic, young graduate engineers & professionals with brilliant academic record to join the organization as: </P> <P><B CVbhz="0" lHr4T="2">Executive Trainees<BR>Electrical (130), Mechanical (195), Civil (25), Control & Instrumentation (105), <A class=kLink oncontextmenu="return false;" id=KonaLink1 onmouseover=adlinkMouseOver(event,this,1); style="POSITION: static; TEXT-DECORATION: underline! important" onclick=adlinkMouseClick(event,this,1); onmouseout=adlinkMouseOut(event,this,1); href="http://www.mbajunction.com/jobs/displayjob.asp?fwid=6961#" target=_top><FONT style="FONT-WEIGHT: 700; FONT-SIZE: 8.3pt; COLOR: orange! important; FONT-
Sorry When I paste it here it is looking different what I am seeing. just replace < with '<', > with '>' and like that.
any suggestion would be acceptable
Thanks and Regards
|
|
|
|
|
Hi,
I have the following code
Ds=new DataSet();
Ds.ReadXml(Request.PhysicalApplicationPath + "Test.xml");
GridView1.DataSource = oDs;
GridView1.DataBind();
This is the code on the click of a button
I have checked from breakpoint that values from xml to dataset getting correctly and there is no error in the page,
but gridview does not show any data.
So can anyone tell me why gridview does not show any data.
Sachin Mukhija
Sachin Mukhija
|
|
|
|
|
How are your columns set up in the gridview?
|
|
|
|
|
My GRID structure is as following :-
<asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
Style="left: 124px; position: relative; top: 21px">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
Sachin Mukhija
|
|
|
|