|
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
|
|
|
|
|
ankur1234 wrote: how to resize table column at runtime using mouse
I don't believe that either was designed for that purpose: they are
structural, not interface, elements. Using them like you propose to
is like using FONT elements and non-breaking spaces for layout: it's
a bad idea and misuse of the elements. If you want to use a resizable
partition, use frames
|
|
|
|
|
correct!!!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Hi,
I published an ASP.net web application using precompiled files way, when I try to browse the web site from the internet, every javascript word is convertted to _avascript in the source of the page !!
which corrupts all javascript code, including even LinkedButton Click events
But when i browse the web site from within the server manchine itself, it works well
(using both http://localhost/website or http://realipaddress/website)
Regarding that another website hosted on the same server has the same problem and This problem appeared only after the network administrator changed the firewall, i am not sure if this what caused the problem.
Would anyone help we with that please ...
Knights' Scent
|
|
|
|
|
can u share your website url?
|
|
|
|
|
Any one share any source code to use repeater control with web.sitemap file....
Amit
|
|
|
|