|
Hi
I am new master page concept.can any one help about this.
any sample projetc and good tutorial.
thanks
Asif
|
|
|
|
|
Master Pages[^]
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
hello asif,
Add a master page in ur webform. Now go to add new item --->Webform1.aspx, there select master page option will be present click on that the master page will be selected.By using this we can avoid flickering,page richness will appear...
If we use master page the form will be in content place holder...
ok byeee
Murali
Murali
|
|
|
|
|
A master page provides a template for other pages, with shared layout and functionality. The master page defines placeholders for the content, which can be overridden by content pages. The output result is a combination of the master page and the content page.
When users request the content page, ASP.NET merges the pages to produce output that combines the layout of the master page with the content of the content page.
The @ Master directive defines it as a master page.
The master page contains a placeholder tag <asp:contentplaceholder> for individual content.
The content page contains a content tag <asp:content> with a reference to the master page (ContentPlaceHolderId="CPH1").
Doubts Should Die For ever ..... HORROR STARTS NOW ...919963717475 chandrashekarthota@gmail.com
|
|
|
|
|
Hi,
I have one user control which has one button control, I placed this user control in Repeater's Item template. But I want to handle the user control Button click event in repeter.How can I do this.
Regards,
Kalyan
Kalyan
|
|
|
|
|
hello kalyan,
Take a button control on the webform1.aspx and fire the event .U will get btn_click(...0,...e) right .So now call the same button in the repeater item template and write code in that btn_click event.oK then that event will work.
ok byeee
Murali
Murali
|
|
|
|
|
Hi there,
I want to create installer file, in that i want to install two executable files, both should install at the same time. Plz help...
Regards n Thks
Sam.M
|
|
|
|
|
Sam.M wrote: both should install at the same time.
I am not sure on this, but try Install Maker[^]
|
|
|
|
|
|
Hi...
I am using a Gridview control which i can scroll vertically, when the rows are scrolled i want to set the Header as a fixed one. How can i perform this.
Thanks
Mahesh.J
|
|
|
|
|
|
|
I want to create image galary by just Drag and Drop the image from external folder. This I have to do in web application. I want asp.net sample code
It is urgent. Can you send me asp.net or javascript code.
-- modified at 3:54 Wednesday 18th July, 2007
|
|
|
|
|
I saw one photo gallery like that in dotphoto.com. They allow the users to drag and drop the images from harddrive to their upload control.
They are using flash to get this feature. but one thing is that the user has to add their site in trusted zone.
Maybe. you can try with flash too.. I don't see any other alternative way to achieve this goal.
|
|
|
|
|
Hi there,
I'm coding in ASP.net 2.0 and I've followed a couple examples to attempt to filter a GridView on my page using a DropDown box. I.e., List of states in the drop down menu; when California is selected the list of data in the GridView should filter to only include rows with California. All examples I've seen say that the code below should work but my GridView disappears from the page completely when I enter the WHERE clause that's linked to the dropdown menu named ddItemType.
I've tryed using the syntax '[ITEM_TYPE] =@ddItemType' and '[ITEM_TYPE] =?'
but these both make the GridView disappear.
Can anyone help me???
Thanks!
<asp:accessdatasource id="AccessFlashlightDS" runat="server" datafile="~/AccessFlashlight.mdb"
="" selectcommand="SELECT [ITEM_TYPE], [SEGMENT1] FROM [OrgItems] WHERE ([ITEM_TYPE] =@ddItemType)"
="" <selectparameters="">
<asp:controlparameter type="string" name="ITEM_TYPE" controlid="ddItemType" propertyname="SelectedValue">
|
|
|
|
|
kmarchiony wrote: my GridView disappears from the page completely when I enter the WHERE clause that's linked to the dropdown menu named ddItemType.
If you are sure about this SELECT statement with that criteria should return some values then you might miss to bind the data with your gridview.
You need to bind the data after filtering... it is better if you show us the code that you wrote in Page_Load and GridView filtering...
|
|
|
|
|
hello kmarchiony,
u have to take the help of the javascript code.Since the drop down list will be innergrid view the values will not be captured properly.Write code in javascript call that in Grid View
ok byeee
Murali
|
|
|
|
|
Hi all,
I am designing a Online Purchase Form using asp.net. It Contains Sno. PartNo Manufacturer, Quantity and Price. For this, I created a gridview. Now, the box is empty and columns are labelled with as mentioned above (sno, part no, etc......).
But now, I am not able to edit the columns like entering the Sno, Partno, manufacturer name, etc...
Could any one please help me on this... Let me know if you need any further details...
I tried by using something like this, but invain...
<asp:TemplateColumn HeaderText ="..">
<ItemTemplate>
<asp:TextBox ....... />
</ItemTemplate>
</asp:TemplateColumn>
Please Help me...
Thanks in Advance.
|
|
|
|
|
Take it EditDatagrid
Best regard
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Hi, thanks for the reply...I have tried it using the <ItemTemplete>.
but now, the problem is whenever user enters something in textboxes, I want to update those values in database..
How could I do that? plz help me....
|
|
|
|
|
Give me ur HTML source code of gridView
Best Regard
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
here is my source code:
<asp:GridView ID="myGridView1" runat="server" Width="483px" CellPadding="4" ForeColor="#333333" AutoGenerateColumns="False" DataSourceID="AccessDataSource1" AllowPaging="True" OnSelectedIndexChanged="myGridView1_SelectedIndexChanged">
<Columns>
<asp:BoundField DataField="Sno" HeaderText="SNo" SortExpression="Sno"/>
<asp:TemplateField HeaderText="PartNo">
<ItemTemplate>
<asp:TextBox runat="server" ID="txtPartNo">
</asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Manufacturer">
<ItemTemplate>
<asp:TextBox runat="server" ID="txtMfg">
</asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Quantity">
<ItemTemplate>
<asp:TextBox runat="server" ID="txtQty">
</asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/db1.mdb"
SelectCommand="SELECT [Sno] FROM [RfqInfo]" UpdateCommand="UPDATE [RfqInfo] SET [Partno] = txtPartNo.Text, [mfg] = txtMfg.Text, [qty] = txtQty.Text WHERE [Sno] = Sno">
</asp:AccessDataSource>
Is that UpdateCommand true??
|
|
|
|
|
i need a javascript to populate a dropdownlist.on the basis of CountryId the State dropdownlist must be bind
Regards,
Magi
|
|
|
|
|
Hi
I am giving u sample code.U can change as per ur requirement.
I have two dropdown one for conurty and other for country language.
On click of country I bound its language using javascript.
See
function countries()<br />
{<br />
indx=document.getElementById('dd_country').value;<br />
<br />
if(indx=="US")<br />
{<br />
langauge=new Array("English","Español");<br />
language_code=new Array("en","es");<br />
}<br />
else if(indx=="AU" || indx=="UK" || indx=="HK" || indx=="IE" || indx=="SG")<br />
{<br />
langauge=new Array("English");<br />
language_code=new Array("en");<br />
}<br />
<br />
opts=document.getElementById('dd_languages').options;<br />
<br />
for (a = opts.length; a >-1; --a) opts[a] = null;<br />
<br />
for (var i=0; i < langauge.length;++i){<br />
languages(langauge[i],language_code[i],opts);<br />
}<br />
}<br />
<br />
function languages(lng,cnd,opts)<br />
{<br />
<br />
var optn=document.createElement("OPTION");<br />
optn.text = lng;<br />
optn.value = cnd;<br />
opts.options.add(optn);<br />
}
asp:DropDownList ID="dd_country" runat="server" CssClass="SmallTxt1" Width="100px" onclick="countries();" >
Best Regard
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
hello
how to resize table column at runtime using mouse
please help
|
|
|
|