Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
I

imranafsari

@imranafsari
About
Posts
49
Topics
34
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • dotnet reportviewer does not behave properly
    I imranafsari

    Dear all, I am using asp.net2.0, C# ,sql server 2005 and ssrs2005 I created a report using reporting services which navigates to other report that is subreport There is two issue one is when I click either on drilldown or next page of subreport it take me back to main report. But when I perform the same activity with Sql reportviewer everything goes successfully I did google search I received below url which suggest to run reportviewer.exe I install it again and again , No success yet https://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2444497&SiteID=17 I access reportviewer control as

    <%@ Register Assembly ="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

                        <rsweb:ReportViewer id="ReportViewer1" runat="server" Width="800px"  Height ="300 px" Font-Size="8pt" Font-Names="Verdana" ProcessingMode="Remote" ShowDocumentMapButton="true" ShowParameterPrompts="false" ShowPageNavigationControls="TRUE" SizeToReportContent="true" ShowBackButton="True">
    

    </rsweb:ReportViewer>

    Please suggest where I am going wrong
    Thak you

    imran khan

    ASP.NET csharp asp-net database sql-server com

  • how to get in report watermark text
    I imranafsari

    Dear all, i am using sql server 2005 , ssrs2005. i have to generate a report(delivery challan ) where if articles is issued against sample request then one should display as back ground "sample request not for sale" behind the article details Please help

    imran khan

    Database database sql-server sysadmin help tutorial

  • server.tranfer path error
    I imranafsari

    Dear All, I am using C# , Asp.net2.0 I am using server.tranfer to redirect the another webpage with parameter I have root folder and my aspx file is inside another folder in root that is root -> folder -> test.aspx Now I am using following code redirect as Server.Transfer("/Demo/FrmChecklist.aspx", true); But I am getting error as path not mapping Please suggest

    imran khan

    ASP.NET csharp asp-net sysadmin help

  • how to display message and redirect to another page
    I imranafsari

    Dear All, I am using C# , asp.net , ajax1.0 My requirement is I have to give alert message and redirect to another page based on some condition Please suggest some link or idea Please help

    imran khan

    ASP.NET csharp asp-net help tutorial

  • clientside validation for date
    I imranafsari

    Hi all i am using asp.net , C# , ajax1.0 i want to know is it possible to perform client side validation for not allowing date before current date + 5 that is if i am entering a date today(11-09-08) then it should not allow any date before 16-09-08 Please help Thank you.

    imran khan

    ASP.NET csharp asp-net help

  • datediff problem
    I imranafsari

    Hi, I am using sql server 2005. When I am finding difference between two date I am getting one day less For example select datediff(d , '2008-09-01' , '2008-09-05') I am getting 4 days I want it to be five day as 1,2,3,4,5 that is it should start from date to todate How can I do it Please help Thank you

    imran khan

    Database help css database sql-server sysadmin

  • Page does not redirect
    I imranafsari

    Dear all, I am using asp.net2.0, C#, ajax1.0 Now there is requirement where I have to check user where he has access to this side it not then show the message and return to default page Now I am trying with this code Define a method in a class as public void ShowMsg(string msg, Page p) { String csname1 = "PopupScript"; Type cstype = this.GetType(); String cstext1 = "alert(' " + msg + "');"; ScriptManager.RegisterClientScriptBlock(p, cstype, csname1, cstext1, true); } then call this method as Doctor drck = new Doctor(); drck.ShowMsg("Access denied", this.Page); and redirect it as Response.Redirect("~/HTML/writeup.aspx"); Now issue is page does not redirect to specified path if I comment message then page redirect What problem with the code If any better idea, please suggest Thank you imran khan

    ASP.NET csharp help html asp-net

  • getting error as Type 'AjaxControlToolkit.MaskedEditExtender' does not have a public property named 'UserTimeFormat'.
    I imranafsari

    Dear All, i am using asp.net 2.0 , C# and ajax1.0 i am getting this error Type 'AjaxControlToolkit.MaskedEditExtender' does not have a public property named 'UserTimeFormat'. while i load the form on live server but this error i am not getting on test server i have register ajaxtoolkit in the form only as <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %> and using it as <ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender1" runat="server" Enabled="True" TargetControlID="Outtime" Mask="99:99" MaskType="Time" UserTimeFormat ="TwentyFourHour" > Please suggest . Thank you imran khan

    ASP.NET csharp asp-net sysadmin help

  • comparing time values
    I imranafsari

    Dear All, I am using C# ,asp.net , sql server 2005. In a web form I have to create From time and to time and to time should be greater then from time I created two textboxes and place the maskedit for time(24 hrs) Now problem is how can I check or do client side validation for to time textbox as compare validator does not support time datatype. If u have better approach please suggest. Thank you.

    imran khan

    ASP.NET csharp asp-net database sql-server sysadmin

  • Page.ClientScript.RegisterStartupScript is not working
    I imranafsari

    Hi all, I am using C# , asp.net2.0 On a button click I have to generate a report in new window I am using following code but It is neither giving error not redirecting the page to destination. Please help string Script= "<script type='text/javascript' language ='javascript' >"; Script+= "window.open('PasswordRecovery.aspx',null,'resizeable=no,scrollbars=no,addressbar=no,toolbar=no,width=300,Height=250');"; Script+= "</script>"; Type csType = this.GetType(); Page.ClientScript.RegisterStartupScript(csType, "PopupScript", Script); imran khan

    ASP.NET csharp help javascript asp-net tools

  • How to make subreport display based on data
    I imranafsari

    Hi all , I am using ssrs2005. I am trying to generate a report which list employee leave detail ie Empcode , name , no of leave taken , balance leave. Now user want to see detail information of employee when he click on empcode . Is it possible using ssrs2005. I tried with subreport. How can I make subreport to be visible when he select particular employee code Please help

    imran khan

    Database help tutorial question

  • how to give use interface for creating body of mail
    I imranafsari

    Dear All, I am using C# , asp.net 2.0 and Ajax1.0. My requirement is that I have to I have to give user interface where He write the body of mail and attach the file which has to tranfer through mail. My question is how can I provides or which control should I use so that whatever user writes in same manner It will deliver that is if he has used new line or break. In body of mail should also show the same.. In short I want to build message textbox just like when we write new post message text box comes. Please guide me. Thank you

    imran khan

    ASP.NET csharp tutorial question asp-net design

  • Better way of definding label control at run time
    I imranafsari

    Hi all , I am using C# , asp.net ,visual studio 2005. I am defining label control at runtime as Label item1 = new Label(); And assigning its id as Item1.ID = "item1"; But problem is that I have to define it for 250 label control. Actually I tried it to define through loop but its not working. Is better way of coding posiible or we have to define all 250 label control Please help Thanks imran khan

    ASP.NET csharp help asp-net visual-studio

  • How to export data that contain images and text to word
    I imranafsari

    Hi all, I am using Asp.net , C# Visual studio 2005. I want to export data that contains images and textual data to word. Please give me some useful link …… Thank you.

    imran khan

    ASP.NET csharp asp-net visual-studio tutorial

  • what are the ways exporting data containing large size picture along with other details
    I imranafsari

    Hi, I am using asp.net, C# (visual studio 2005). I have made one search form where I display large size image along with data. My problem is when I export it to excel. Picture exported to I think on first cell. Please suggest me some idea how can I rectify it. Or is there better way available. Like exporting to word or pdf . if so please provide me some good link. Please guide me Thnks

    imaran khan

    ASP.NET csharp asp-net visual-studio help tutorial

  • please help problem in creating template at run time.
    I imranafsari

    Hi all, I am using asp.net and C# Visual studio 2005. Let me explain the scenario. I have stored procedure which return very no of column based on condition. Becoz I have to show columnwise record I used datalist. And becoz of query return different no of column based on condtion I created template class for design and itembinding at run time . I manage to create template column() but confuse over how to bind data. As no of column differ at runtime. Code I used I am attaching it below . if you have better approach please tell me Please guide me . 1 public class MyTemplate:ITemplate 2 { 3 ListItemType templateType; 4 String para1, para2, para3, para4, para5; 5 6 7 public MyTemplate(System.Web.UI.WebControls.ListItemType type,string parameter1) 8 { 9 templateType = type; 10 para1 = parameter1; 11 } 12 13 // 14 public void InstantiateIn(System.Web.UI.Control container ) 15 { 16 PlaceHolder ph = new PlaceHolder(); 17 ImageMap imp = new ImageMap(); 18 //declaration 19 imp.ID = "img1"; 20 21 switch (templateType) 22 { 23 case ListItemType.Header: 24 // ph.Controls.Add(new LiteralControl(" ")); 25 ph.Controls.Add(new LiteralControl("<table border=\"1\">" )); 26 break; 27 case ListItemType.Item: 28 29 ph.Controls.Add(new LiteralControl("<tr align = left>")); 30 ph.Controls.Add(imp); 31 // some code 32 //optional parameter 33 if (!((para1 == "categoryid") || (para1 == "customerid") || (para1 == "retailprice") || (para1 == "subcategory"))) 34 { 35 ph.Controls.Add(item5); 36 ph.Controls.Add(new LiteralControl("<br />")); 37 38 } 39 40 ph.Controls.Add(new LiteralControl("</td>")); 41 ph.DataBinding += new EventHandler(Item_DataBinding); 42 break; 43 44 case ListItemType.Footer: 45 ph.Controls.Add(new LiteralControl("</table>")); 46 47 break; 48 } 49 container.Controls.Add(ph); 50 } 51 52 53 // cont

    ASP.NET csharp database design help tutorial

  • hey..urgent help needed with makin a site like orkut ...
    I imranafsari

    you can store imagepath in database ... you can upload photo using uplaodfile web control and retrive back using imagemap vontrol..... hope this may clear the picture bit more...

    imaran khan

    ASP.NET csharp database help sql-server sysadmin

  • how to change behaviour of item_databinding of itemplate interface
    I imranafsari

    Hi all, I am using asp.net2.0 and C# VS2005. I am creating asp.net web server control templates Dynamically . My requirement is such that sp return very no of field( 4 or 5 or 6 …). Now I am assigning it to datalist by creating web server control template dynamilly. My problem is as no of field return very .how can I change databinding(which is method of itemplate) method so that I can bind data as per field. That is how can I change the behavior of method Item_DataBinding(itemplate interface) so that it accept parameter Please help. Code i am using ……. public class MyTemplate:ITemplate { ListItemType templateType; String para1, para2, para3, para4, para5; public MyTemplate(System.Web.UI.WebControls.ListItemType type , string parameter1) { templateType = type; para1 = parameter1; } // public void InstantiateIn(System.Web.UI.Control container ) { PlaceHolder ph = new PlaceHolder(); ImageMap imp = new ImageMap(); //declaration imp.ID = "img1"; switch (templateType) { case ListItemType.Header: // ph.Controls.Add(new LiteralControl(" ")); ph.Controls.Add(new LiteralControl("" )); break; case ListItemType.Item: ph.Controls.Add(new LiteralControl("")); ph.DataBinding += new EventHandler(Item_DataBinding); break; case ListItemType.Footer: ph.Controls.Add(new LiteralControl("

    ")); ph.Controls.Add(imp); // some code //optional parameter if (!((para1 == "categoryid") || (para1 == "customerid") || (para1 == "retailprice") || (para1 == "subcategory"))) { ph.Controls.Add(item5); ph.Controls.Add(new LiteralControl("
    ")); } ph.Controls.Add(new LiteralControl("

    ")); break; } container.Controls.Add(ph); } // container code end static void Item_DataBinding(object sender, System.EventArgs e ) { PlaceHolder ph = (PlaceHolder)sender; DataListItem ri = (DataListItem)ph.NamingContainer; //RepeaterItem ri = (RepeaterItem)ph.NamingContain

    ASP.NET csharp help asp-net sharepoint wpf

  • placeholder does not recognize line break code [modified]
    I imranafsari

    thanks buddy i worked ... i understood my mistake. thanks alot

    imaran khan

    ASP.NET help wpf wcf design docker

  • placeholder does not recognize line break code [modified]
    I imranafsari

    now i change the code but it does not working ph.Controls.Add(new LiteralControl("")); ph.Controls.Add(imp); ph.Controls.Add(new LiteralControl("")); ph.Controls.Add(new LiteralControl("
    ")); ph.Controls.Add(new LiteralControl("")); ph.Controls.Add(item1); imaran khan

    ASP.NET help wpf wcf design docker
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups