|
Are you using asp:commandfield as a column template?
If yes, you have the following properties:
CancelText
DeleteText
EditText
InsertText
NewText
SelectText
UpdateText
Calin
|
|
|
|
|
I am using a repeater control in my project. How to display only the first 2 data items using the orderby method.
|
|
|
|
|
use Select Top 2 .... order by ...
in query and bind the datatable into the Repeater..... simple.
Abhishek Sur
|
|
|
|
|
|
Hi all,
I am using Asp.Net Ajax Hover menu on gridview. created the add new linked popup, but i need, clicking add link, empty textbox should have to display to enter the values and save it in db. How could i do it. Kindly help me..
|
|
|
|
|
I got this error while trying to get user id from membeship in asp.net
I write the code as follow
MembershipUser myuser = Membership.GetUser();
but the error happens in this line of code above "
Specified cast is not valid.
" although it was working before but stopped suddenly
|
|
|
|
|
I have a master page in that i am loading user control dynamically, when page postback sometimes it gives error
'Invalid length for a Base-64 char array.'
Kindly provide me solution if anybody have..
Thanking you!
|
|
|
|
|
Hi i have tried gridview in inside the update panel...,
for me paging concept is working fine...,
But i am getting probs in sorting...,
it mean i am not getting error, for me proper shorting is not occured ...,
plz any one guide me/ give me some url where they have explained about it...,
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
Where you are posting the question,you asked this question(i am assuming that it is a question) as a reply of another question. On the top did u saw new message label,click there and post yor question
|
|
|
|
|
Is it possible to add multiple tables in Horizontal row in C#.net? How ?
|
|
|
|
|
Hi,
The question you asked is a bit vague. Please make it more clear.
|
|
|
|
|
I want to design the page using source of the .Net form. In that i want to add several tables in the same row. Is it possible to create different tables in the horizontal flow?
|
|
|
|
|
why dont u join the tables using query and display the data
|
|
|
|
|
I am still not sure about your requirement. I am assuming that you want to include multiple html tables inside a row of another html table.
Is it something like this.
<table width="100%">
<tr>
<td colspan=3>
</tr>
<tr>
<td>
<table><tr><td>First Table</td></tr></table>
</td>
<td>
<table><tr><td>Second Table</td></tr></table>
</td>
<td>
<table><tr><td>Third Table</td></tr></table>
</td>
</tr>
</table>
Or are you talking about displaying data from multiple database tables on a single row of your html table?
|
|
|
|
|
Is it possible to play video in C#Net? How? Can anyone send the code?
|
|
|
|
|
Karthick_gc wrote: Is it possible to play video in C#Net?
This is ASP.NET forum. Are you asking how to play video in ASP.NET? ASP.NET can't play video. You need to take a look at HTML embed[^] tag.
|
|
|
|
|
I think this is a difficult job.
What I have to do in my asp.net (3.5) website:
. The client select a file from his filesystem (actually a 512MB bin file from a dedicated SD card)
. A client script extract useful data from bin file and compress it (to minimize the amount of uploaded data)
. The file is uploaded to asp.net server
. The file is processed by the server (to read bin file data and insert it into a database)
So my real question : Is it possible to do this with asp.net/C# (or any other language) with a minimal user interaction?
Actually I've make it works but with a java applet, and it's not very intuitive and efficient. The user had to select the bin file, save it to a temporary compressed file (done by applet). And finally the user selects a new time the previously saved compressed file and upload it (asp:upload)...
So is it possible to do it with ASP.NET ? If yes (or I you have an idea) please just answer me.
Thanks for any answer.
BR
Le Sourcier
|
|
|
|
|
Hai,
I have a datagrid having 3 fields. The second field contains Link buttons ,When i am clicking that fields i want o get the cell value ie, I am storing some path like C:\abc\a1.wav in that fields,When i click that field,i want to get the path to a string.
The GridView Code is (Music_Path is the field name)
<asp:gridview id="GridView1" runat="server" autogeneratecolumns="False" datasourceid="SqlDataSource1" xmlns:asp="#unknown">
Style="z-index: 102; left: 301px; position: absolute; top: 187px" >
<columns> <asp:boundfield datafield="No" headertext="No" insertvisible="False" readonly="True">
SortExpression="No" />
<asp:templatefield headertext="Music_Path" sortexpression="Music_Path">
<edititemtemplate>
<asp:textbox id="TextBox1" runat="server" text="<%# Bind(" music_path")="" %>"="">
<itemtemplate>
<asp:linkbutton id="LinkButton1" runat="server" text="<%# Bind(" music_path")%>"="">OnClientClick="javascript:abc()">
<asp:boundfield datafield="Name" headertext="Name" sortexpression="Name">
and in the function abc i want to alert the path
Please check the databinding also ,i think it is having some problem
Thanksssssssssssss
|
|
|
|
|
you have not closed the link button tag and some syntax error in it.
|
|
|
|
|
Hi, thanks for looking
I have a shared hosting account on godaddy, i can host unlimited domains, But im having a "problem" when hosting another domain besides the root domain
This is what happens
Lets say i have a second domain (mydomain.com)
I can add this new domain to my hosting account, all i need to do is to link it to a folder inside the root folder in my hosting account, lets call this folder folder1
So i have this structure on my site:
root/ (here is where my main domain is)
root/folder1 (here is where mydomain.com is)
I can access it and it works fine, the problem is that when i use a menu control to enable the navigation, the menu items link me to:
www.mydomain.com/folder1/PageName.aspx instead of www.mydomain.com/PageName.aspx
Ive tryed using the link without the ~/ in the sitemap but it still gets the full url (www.mydomain.com/folder1/PageName.aspx)
This doesnt happen when i use links, even if i use ~/ to get the navigateurl
Is there any way to avoid this behavior of the menu control
I noticed that a dotnetnuke portal has the same behavior when i set it up as a secondary domain, it enters the site with www.sitename.com but once a menu item is clicked, it shows the www.sitename.com/folder/PageName.aspx
Thanks for any feedback
Alexei Rodriguez
|
|
|
|
|
how to session expire in programmatically in runtime.
Chandhu
|
|
|
|
|
chandhuBTS wrote: how to session expire in programmatically in runtime.
What does it mean ? Do you want to set Session Expire Time runtime? or Remove Session?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Use Session.Abandon()
The miracle is this--the more we share, the more we have.
|
|
|
|
|
Session.Abanded(); destroyed all session variable,
Session.Removed("Name_of_session_variable") its destroyed particular variable only
|
|
|
|
|
vnsraj wrote: Session.Abanded(); destroyed all session variable,
Session.Removed("Name_of_session_variable") its destroyed particular variable only
That's True, But his question was not clear that what he is expecting.
cheers,
Abhijit
CodeProject MVP
|
|
|
|