Click here to Skip to main content
15,914,419 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiondisplay Analog clock Pin
Hemant Thaker1-Jul-10 3:59
Hemant Thaker1-Jul-10 3:59 
AnswerRe: display Analog clock Pin
David Mujica1-Jul-10 4:12
David Mujica1-Jul-10 4:12 
AnswerRe: display Analog clock Pin
Gaurav Dudeja India1-Jul-10 20:15
Gaurav Dudeja India1-Jul-10 20:15 
QuestionNeed help to decide whether to go for ASP.Net Website or PHP Pin
nilam24771-Jul-10 2:33
nilam24771-Jul-10 2:33 
AnswerRe: Need help to decide whether to go for ASP.Net Website or PHP Pin
Not Active1-Jul-10 2:46
mentorNot Active1-Jul-10 2:46 
AnswerRe: Need help to decide whether to go for ASP.Net Website or PHP Pin
Peace ON1-Jul-10 2:47
Peace ON1-Jul-10 2:47 
AnswerSounds like SAAS Pin
David Mujica1-Jul-10 3:04
David Mujica1-Jul-10 3:04 
Questionfile upload in gv in asp.net Pin
diyaa_0830-Jun-10 21:35
diyaa_0830-Jun-10 21:35 
sallam 2 all;
tat is my code
<asp:Button ID="btnCaseDetailsAttach" runat="server" Text="Attach" CssClass="ButtonBlackCss" OnClientClick="return triggerFileUpload();" onclick="btnCaseDetailsAttach_Click" />
<asp:Button ID="btnCaseDetailsDetachFile" runat="server" Text="Detach File" CssClass="ButtonBlackCss" onclick="btnCaseDetailsAttach_Click"/>
<asp:HiddenField id="pathpicker" runat="server" />
<input type="file" id="File1" style="visibility:hidden;" onchange="LoadPath();" />
<asp:Label ID="lblSendMail" runat="server"></asp:Label>


<asp:GridView ID="gvCaseDetailsWebFileName" runat="server" CssClass="hor-minimalist-c" Enabled="false">
</asp:GridView>





<script type="text/javascript"language="javascript">
function triggerFileUpload()
{
document.getElementById("File1").click();
}
function LoadPath()
{
var a=document.getElementById("File1").value;
alert(a);
document.getElementById("<%=pathpicker.ClientID%>").value=a;
alert(document.getElementById("<%=pathpicker.ClientID%>").value);
return true;

}



</script>


on attach btn
gvCaseDetailsWebFileName.DataSource = null;
gvCaseDetailsWebFileName.Visible = false;
string value = pathpicker.Value;
objCaseGeneration.FilePath(value.ToString());
gvCaseDetailsWebFileName.DataSource = objCaseGeneration.dsMissingDateOfServices.Tables["CaseGeneration"];
gvCaseDetailsWebFileName.DataBind();
gvCaseDetailsWebFileName.Visible = true;


tis code only browses files bt not works and not places file name in gridview
n tis browses in internet xplorer not in mozilla y?
AnswerRe: file upload in gv in asp.net Pin
Peace ON30-Jun-10 22:27
Peace ON30-Jun-10 22:27 
GeneralRe: file upload in gv in asp.net Pin
diyaa_0830-Jun-10 22:46
diyaa_0830-Jun-10 22:46 
GeneralRe: file upload in gv in asp.net Pin
raju melveetilpurayil30-Jun-10 23:29
professionalraju melveetilpurayil30-Jun-10 23:29 
GeneralWould you mind formatting your code? Pin
Ankur\m/30-Jun-10 23:58
professionalAnkur\m/30-Jun-10 23:58 
Questionhow to pass values to another aspx page without redirecting to that page? Pin
dittu730-Jun-10 20:32
dittu730-Jun-10 20:32 
AnswerRe: how to pass values to another aspx page without redirecting to that page? Pin
Peace ON30-Jun-10 20:36
Peace ON30-Jun-10 20:36 
GeneralRe: how to pass values to another aspx page without redirecting to that page? Pin
dittu730-Jun-10 20:47
dittu730-Jun-10 20:47 
AnswerRe: how to pass values to another aspx page without redirecting to that page? Pin
Peace ON30-Jun-10 22:16
Peace ON30-Jun-10 22:16 
GeneralRe: how to pass values to another aspx page without redirecting to that page? Pin
Anurag Gandhi30-Jun-10 22:17
professionalAnurag Gandhi30-Jun-10 22:17 
GeneralRe: how to pass values to another aspx page without redirecting to that page? Pin
dittu730-Jun-10 22:42
dittu730-Jun-10 22:42 
AnswerRe: how to pass values to another aspx page without redirecting to that page? Pin
Peace ON30-Jun-10 23:39
Peace ON30-Jun-10 23:39 
GeneralRe: how to pass values to another aspx page without redirecting to that page? Pin
raju melveetilpurayil30-Jun-10 23:48
professionalraju melveetilpurayil30-Jun-10 23:48 
GeneralRe: how to pass values to another aspx page without redirecting to that page? Pin
Anurag Gandhi1-Jul-10 0:42
professionalAnurag Gandhi1-Jul-10 0:42 
AnswerRe: how to pass values to another aspx page without redirecting to that page? Pin
dittu71-Jul-10 0:40
dittu71-Jul-10 0:40 
QuestionASP.net master page redirect Pin
Amit Patel198530-Jun-10 20:07
Amit Patel198530-Jun-10 20:07 
AnswerRe: ASP.net master page redirect Pin
Dinesh Mani30-Jun-10 21:05
Dinesh Mani30-Jun-10 21:05 
GeneralRe: ASP.net master page redirect Pin
raju melveetilpurayil30-Jun-10 21:19
professionalraju melveetilpurayil30-Jun-10 21:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.