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
R

Reza Ahmadi

@Reza Ahmadi
About
Posts
16
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Article Vote Count Incorrect
    R Reza Ahmadi

    Hi, For me, I think the total number of votes is accurate but when you count all votes(5,4,3,..) it is wrong!!! I mean, for instance, the total number is 15, and when I count votes it is 19! For total 15 is accurate I think but some extra votes are reported in the small chart beside the total number! Thanks

    I am not what happened to me, I am what I choose to become.

    Site Bugs / Suggestions com

  • Apparently there is no limit to naming conventions for method
    R Reza Ahmadi

    That is not real! I can't believe

    The Weird and The Wonderful

  • DataGrid to ReportViewer
    R Reza Ahmadi

    Hi, Could you please describe more. I presume you want to send GridView's data to the ReportViewer?

    .NET (Core and Framework) help

  • Which is the Best ORM tool for .NET?
    R Reza Ahmadi

    Hi, I prefer Entity Framework despite the fact that I have used LINQ to SQL a lot. I prefer Entity because of it's advantages over LINQ. I prefer Microsoft based framework rather than third party frameworks. Cheers

    .NET (Core and Framework) csharp com question

  • Convert string in byte array
    R Reza Ahmadi

    And where are the implementation of GetBytes?? :^)

    ASP.NET csharp asp-net data-structures performance

  • border for the repeater control
    R Reza Ahmadi

    Hi, Try this post: http://forums.asp.net/t/1679854.aspx/1[^] I hope it helps, Cheers

    ASP.NET help question

  • XACML
    R Reza Ahmadi

    Hi, Try this: http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CC0QFjAB&url=http%3A%2F%2Fwww.cs.odu.edu%2F~gpd%2Fmsprojects%2Frramesh.0%2FMSProject%2FMastersProjectPresentation.ppt&ei=HGqKT6S5BMOohAf64eG_CQ&usg=AFQjCNEtvAwBBO2jegCDDk39u_O6dtEvDg&sig2=k1zFsd8TtxUZvMURslk0Uw[^]

    Web Development tutorial

  • Export to Excel and Microsoft Jet
    R Reza Ahmadi

    Absolutely no. The exportation occurs in the app server so I mean your server needs to have Excel installed.

    ASP.NET csharp asp-net visual-studio sysadmin windows-admin

  • Export to Excel and Microsoft Jet
    R Reza Ahmadi

    Hi, Provider=Microsoft.Jet.OLEDB is a driver and it exists in every machine which has .Net framework installed but in order to export to Excel the machine needs to have Office Excel installed.

    ASP.NET csharp asp-net visual-studio sysadmin windows-admin

  • Gridview inside dropdownlist selected index change load the other control values
    R Reza Ahmadi

    Hi, I did it using a trick: 1- I used a HiddenField as one of my Bound fields in the DataList 2- I bound my key column to the HiddenField and to the ToolTip of your first DropDownList 3- I used drp_SelectedIndexChanged handler which is event handler of the first DropDownList to fill the second DropDown. Here is my sample(the most important parts):

    <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1"
    onselectedindexchanged="DataList1_SelectedIndexChanged" RepeatColumns="5">
    <ItemTemplate>
    <asp:HiddenField runat="server" ID="hiddenField" Value='<%# Eval("TableSeq") %>' />
    <asp:DropDownList runat="server" ID="drp" AutoPostBack="true" ToolTip='<%# Eval("TableSeq") %>'
    onselectedindexchanged="drp_SelectedIndexChanged">
    <asp:ListItem Value="1">1</asp:ListItem>
    <asp:ListItem Value="2">2</asp:ListItem>
    </asp:DropDownList>
    <br />
    <asp:DropDownList ID="drp2" runat="server" Height="16px">
    <asp:ListItem Value="5"></asp:ListItem>
    <asp:ListItem Value="4">4</asp:ListItem>
    </asp:DropDownList>
    <br />
    </ItemTemplate>
    </asp:DataList>

    and here is code behind:

    protected void drp_SelectedIndexChanged(object sender, EventArgs e)
    {
    DropDownList drop2 ;
    DropDownList drp = (DropDownList)sender;
    string key = drp.ToolTip;
    foreach (DataListItem item in DataList1.Items)
    {
    if (((HiddenField)item.FindControl("hiddenField")).Value == key)
    { //found
    drop2 = (DropDownList)item.FindControl("drp2");
    drop2.Items.Add(new ListItem("X", "X"));
    return;
    }
    }
    }

    I hope it will help, Cheers.

    ASP.NET database sysadmin

  • how to edit web conf?
    R Reza Ahmadi

    Hi, What do you mean exactly by 'IIS server file' and I presume you want to change that in web.config programatically, is not it?

    ASP.NET sysadmin windows-admin sales tutorial question

  • ListView EditTemplate
    R Reza Ahmadi

    Hi, Take a look at this post: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listview.edititemtemplate.aspx[^]

    ASP.NET help question

  • Free GAC Explorer Tool
    R Reza Ahmadi

    Nice tool!

    Free Tools csharp dotnet

  • How to test WebService from remote machine on Local network?
    R Reza Ahmadi

    How do you find the services on the Remote machine? Do You use add web reference in VS and then find services by a full address including IP and service name? Let me know about your method.

    ASP.NET help question csharp asp-net sysadmin

  • Error page not showing
    R Reza Ahmadi

    It seems that everything is fine but the address of Error.aspx is wrong as you say 'master page and the URL shows / Error.aspx'. I guess you must work on the last line:

    Response.Redirect(String.Format("Error.aspx?aspxerrorpath={0}", Request.Url.PathAndQuery))

    maybe you must replace it with "~/Error.aspx..."

    ASP.NET csharp sysadmin help question

  • Workflow Designer Location in a MultiLayer Application
    R Reza Ahmadi

    Hi, I have rehosted the workflow designer and I've added a few custom activities along with default activities in it. It is going to be used by users to create and edit control flows. All I want to do is to plug the designer in a predefined architecture which includes a DLL, BLL and presentation layer. What architecture do you suggest for the new case including workflow designer? Thank you very much in advance. :)

    Design and Architecture architecture question workspace
  • Login

  • Don't have an account? Register

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